Friday, October 29, 2021

How to call a webservice in aspx.cs Page


//In Page_Load function we can call webservice


 Protected void Page_Load(Object sender, Event args)

{

    WebService1 w = new WebService1();

    List<Employee> emp = w.HelloWorld();    // function of web service

}

No comments:

Post a Comment