I am a absolute beginner in Windows Phone Development with a basic idea in C# & Silverlight . I am building an application which will require some basic database functionality . Then , I discovered that SQL Server is not compatible with Windows Phone Development ! Then I also found that no local database is not gonna work for WP . What a mess ! I used SQLite in Android . Now anybody just tell me I can use SQLite in Windows Phone . & Show me the way . If not , How can I store data in a database ? Help Please .Thanks in advance .
Share
First, do you need a database? If you need to store basic app configuration materials, Windows Phone has local storage which will work for this.
If you really need database (to store relational data, or other database functionality) then you have a couple of choices:
Windows phone 7.5 (code name mango) has support for SQL CE, which is an optimized version of MS Sql Server for mobile devices.
http://devlicio.us/blogs/derik_whittaker/archive/2011/07/21/using-sql-ce-on-wp7-mango-getting-started.aspx
If you need to target versions earlier than Mango, SterlingDB is a good alternative.
There are a number of articles on the web dedicated to getting you started with this.