My project is a receipter {for WP7}.
In this project, how can I use a database and which database should开发者_开发知识库 I use?
We use SQLite since you can design the database ahead of time using standard SQL commands. It works pretty well on the phone.
I've written a quick start guide here: http://wirebear.com/blog/2010/11/12/using-sqlite-in-your-wp7-app
Yes, you can use database in your project.
Look at http://sterling.codeplex.com/ - it looks useful for you. This project has very simple and understandable tutorial.
There are lots of database options avaialble for Windows Phone 7.
See the known supported list inthe anser to the question: Local Sql database support for Windows phone 7
One point, as mentioned at Mix, the tool set coming out next month for the mango update will have the build in SqlServer on the phone. If you can afford to wait a bit. But, at the very least you might want to architect it so you can switch when Mango comes out.
精彩评论