Reputation: 12053
Is it possibe to save date in remote database (on server) by mobile with WP7?
I wolud like to use ADO.NET and insert some values. If it is not possible what else can I use?
Upvotes: 1
Views: 498
Reputation: 622
Here is a very cool tutorial : http://studentguru.gr/b/dt008/archive/2010/12/02/querying-a-database-on-windows-phone-7-using-wcf.aspx
Upvotes: 2
Reputation: 14328
AFAIK you can't - I'm 100% positive you can't in WP8 or WinRT, so I assume it also holds for WP7.
The best you can do is host a web-service somewhere that will provide a RESTful access to the database, then use WebClient
(or whatever way you prefer to make a HTTP request) in the phone app to call the service.
Upvotes: 2