Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Phone 7
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01505974
Message ID:
01505976
Vues:
54
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform