在Windows 8 Metro应用程序中存储用户数据 [英] Store user data in Windows 8 metro app
本文介绍了在Windows 8 Metro应用程序中存储用户数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在学习如何开发Windows 8 Metro风格的应用程序,但找不到例如在SQL Server中存储用户数据的方法.
I am learning how to develop Windows 8 Metro style apps but i couldn't found a way to store user data in SQL Server for example.
我可以使用什么或如何存储用户数据.
What could i use or how to store user data.
推荐答案
您无法从Metro应用访问本地桌面服务".因此,您将无法与本地SQL Server通信. 您可以使用存储信息的在线服务,也可以使用本地存储.
You cannot access local "desktop services" from the Metro app. So you will not be able to communicate with a local SQL Server. You can use online services that store your information or you can use local storage.
看看:
- How to store and retrieve local application data
- ApplicationData sample
这篇关于在Windows 8 Metro应用程序中存储用户数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文