title: calling a web service in asp.net
body: <p>I have two textbox and a button, and a web service. I want to enter a number(cu_personal_number) in textbox1 and when I click the button, it connects to web service and search in it and return the name belong to that cu_personal_number in the textbox2.
  my code did not return value. When I enter a code in textbox1 and enter the button, there is not any value appear in the textbox2.</p>
  <pre><code>protected void Button3_Click(object sender, EventArgs e)
      {
          localhost.Personel lp1 = new localhost.Personel();
          DataSet ds1 = lp1.daryafte_view_Personel_Information_with_parameter_cu_personal_number(&quot;cu_personal_number&quot;);
          this.GridView1.DataSource = ds1;
          bool found = false;
          foreach (System.Data.DataTable tabale in ds1.Tables)
          {
              foreach (DataRow dr in tabale.Rows)
              {
                  found = true;
                  txtName.Text = dr[&quot;tp_firstabbr_name&quot;].ToString().Trim();
              }
          }
  </code></pre>