protected void Button1_Click(object sender, EventArgs e)
 {
     HelloWebService.HelloWebServiceSoapClient client = new HelloWebService.HelloWebServiceSoapClient();
     Label1.Text = client.GetMessage(TextBox1.Text);
 }
Example #2
0
 protected void getMessage_Click(object sender, EventArgs e)
 {
     var client = new HelloWebService.HelloWebServiceSoapClient();
     NameLabel.Text = client.GetMessage(NameTextBox.Text);
 }