Am newbie to Windows 7 mobile Application development.In my app i have to use D开发者_开发问答atabase connection .i found the sqlce tool in visual-studio-2010 and i have created Db too. But i can't make DB connection ,Because i can't found Namespace to use Sqlce. please help me to find solution,if my approach is wrong please guide me to get solution
Microsoft have not provided any mechanisms for accessing a database in the first release of Windows Phone 7, so right now you can access a SQL CE database.
That said there are other options (web services and 3rd party databases using Isolated Storage on the phone).
For more information, see this question: How to use the class SqlCeConnection in the Window Phone 7 application ?
There are a few database libraries available now for WP7 - one of the best ones (IMO) seems to be the Sterling database - see http://sterling.codeplex.com/
精彩评论