General information
Category:
Coding, syntax and commands
Not sure what your initial problem with the web service might be (what is Service()) but, IIRC, WP7 doesn't include ADO.NET so you won't be able to use DataSet/DataTable anyway .......
>Hi.
>I have following code on a c# Web Site which consumes a We Service that I created in Vis Studio (works fine from a Web App)
> Service se = new Service();
> DataSet ds = new DataSet();
> ds = se.GetDebtorsBalances(searchString.Text.Trim());
> Session.Add("DataSet1", ds);
>(This seems to be using rhe System.Web namespace)
>
>Now when I try to do the same on a Windows Phone 7 Web App, I get all soerts of errors and cannot use System.WEB (Which allows mw to use the first line: Service se = new Service()
>
>Is there some restictio on jusing thios for a WP7 app, and if so is there a way around it ?
>
>I am trying to replicate exactly what I have workong on a standard WEB APP to consume a Web Service and to be able to run this from a WM7 app.
>
>TIA
>Gerard
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only