WindowsPhone 应用程序的数据库
我是 Windows Phone 应用程序开发新手。我花了几天时间来了解 XAML 和其他库。我从不需要任何数据库的简单应用程序开始。可以使用什么样的数据库以及如何将其与应用程序连接。
或者 XML 处理会更好
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 used and how to connect it with the application .
or XML Processing will better
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用这两种方法,即将信息存储在手机独立存储中的本地数据库中,或者读取并保存 XML 文件。
MSDN:
以下是如何:创建基本本地数据库应用程序对于 Windows Phone
如果您的要求只是存储数据并且不需要非常复杂的数据库设计/架构,或者仅仅是因为您正在 Windows Phone OS 7.0 上进行开发。您可以使用 XML,如下所示:
使用 XmlSerializer 读取并保存 XML 文件
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:
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