Jacek
Jacek

Reputation: 12053

SqlConnection in Windows Phone

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

Answers (2)

Patryk Ćwiek
Patryk Ćwiek

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

Related Questions