I have the following code which submits data to a web service and I want to display the items found in a text box here is my what I have so far
protected void btnSubmit_Click(object sender, EventArgs e)
{
WebApplication4.serviceRef.SearchService search = new WebApplication4.serviceRef.SearchService();
List<WebApplication4.serviceRef.Project> listproj = new List<WebApplication4.serviceRef.Project>();
listproj = search.SearchWithStringParamters(txtMainTech.Text, txtHours.Text, txtEffort.Text, txtStDate.Text).Projects.ToList();
for (int i = 0; i < listproj.Count; i++)
{
string projList = listproj.ToString();
txtresult.Text = projList;
}
}


Sign In
Create Account


Back to top









