示例#1
0
        protected void hello(Object sender, EventArgs e)
        {
            String nombre = TextBox1.Text;

            ServiceReference1.ExampleWSSoapClient webService = new ServiceReference1.ExampleWSSoapClient();
            Label3.Text = webService.Hello(nombre);
        }
示例#2
0
 protected void helloWorld(Object sender, EventArgs e)
 {
     ServiceReference1.ExampleWSSoapClient webService = new ServiceReference1.ExampleWSSoapClient();
     Label1.Text = webService.HelloWorld();
 }
示例#3
0
 protected void obtenerFecha(Object sender, EventArgs e)
 {
     ServiceReference1.ExampleWSSoapClient webService = new ServiceReference1.ExampleWSSoapClient();
     Label2.Text = webService.getDate();
 }