Do Windows 8 Metro style application support SQL Server CE local database?

落爺英雄遲暮 提交于 2019-11-29 04:39:57

As already answered by ErikEJ, there is no native support for a local SQL Server CE database, but maybe this third party component SQLite is usefull for you?

Tim Heuer has wrote a blogpost about how to use SQLite in a metro style app: http://timheuer.com/blog/archive/2012/05/20/using-sqlite-in-metro-style-app.aspx

In the blogpost there is also a video with the "How to" steps to use SQLite in your app.

No, currently Microsoft does not provide a local database for Metro applications with C# and XAML.

Not only can you not connect to a local SQL database, you can't connect to a remote one either. Everything has to go through web services... or use SQLite.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!