I did this in the Class Library
public class MyWebServiceWrapper
{
     private MyWebService obj = new MyWebService();

     public MyWebServiceWrapper()
     {
       obj.Url = ConfigurationManager.AppSettings["MyUrl"];
     }

     public void WebMethodA()
     {
         obj.WebMethodA();
     }
}


I did this in the client (test client is winform).

clMoneyConv obj = new clMoneyConv();
datagridview.datasource = obj.WebMethodA();  - GETTTING THIS ERROR
"cannot implicitly convert void to object

What to do?????????????????????????????????

Reply via email to