我正在使用Visual Studio 2012使用C#和XAML编写Windows 8商店应用程序(Metro Design)。
不需要具有多用户支持的数据库服务器等。我的应用程序就像提醒和联系注意应用程序必须记住日期和时间,我想将我的数据存储在本地数据库中,不知道哪个数据库适合我的需要。也许是xml?或者有解决方案!
如果我去使用xml那么,
如何在xml中创建数据字段?
如何在c#xaml UI中导入xml数据?
有人可以用例子解释我吗?
答案 0 :(得分:1)
您可以使用SQLite或XML来存储数据,只需Google就可以找到很多教程
SQLite的
Using SQLite in a Windows Store App
Sqlite For Windows 8 Metro/Winrt Apps
Using SQLite and sqlite-net in a Windows Store App
Tim Heuer Blog : Tagged - sqlite
qmatteoq.com : Tagged - SQLite
XML
Using the Documents Library as a database in Windows 8 Store apps