DataBase for WindowsPhone applications
I am new to Windows Phone Application Development . I spent a couple of days to understand the XAML and other Libraries . I started with simple application which doesnt require any DataBase .What kind of DataBase can be 开发者_StackOverflow社区used and how to connect it with the application .
or XML Processing will better
You can use both methods i.e. store information on a local database in your phone's isolated storage or read and save XML files.
MSDN:
With Windows Phone OS 7.1, you can store relational data in a local database that resides in your application’s isolated storage container. Windows Phone applications use LINQ to SQL for all database operations; LINQ to SQL is used to define the database schema, select data, and save changes to the underlying database file residing in isolated storage.
Here is How to: Create a Basic Local Database Application for Windows Phone
If your requirement is simply to store data and a very complicated database design/schema is not required or simply because you are developing on Windows Phone OS 7.0. You can use XML as can be found here:
Read and Save XML files using XmlSerializer
精彩评论