Beispiel #1
0
 protected void docSearch(object sender, EventArgs e)
 {
     BuiServiceReference1.Service1Client myClient = new BuiServiceReference1.Service1Client();
     try
     {
         TextBox3.Text = myClient.doctorSearch(TextBox1.Text, TextBox2.Text);
     }
     catch
     {
         TextBox3.Text = "Error. Please Check input and Try Again.";
     }
     try
     {
         TextBox4.Text = myClient.eventSearch(TextBox1.Text, TextBox2.Text);
     }
     catch
     {
         TextBox4.Text = "Error. Please Check input and Try Again.";
     }
 }