Visual Studio 2010中的Windows Phone SDK 7.1.1

问题描述:

我使用Microsoft Access创建了一个数据库,并希望将其链接到VS 2010中的Windows Phone SDK 7.1.1。如何通过链接正确执行此操作,以便Microsoft Access中的所有数据都可以显示在Windows中一旦我在模拟器中调试了手机?



真的很感激任何帮助,因为我不确定我是否正在做我正在做的事情。谢谢! :)

I had created a database using Microsoft Access and would like to link it to the Windows Phone SDK 7.1.1 in VS 2010. How do I correctly do it by linking so that all data in Microsoft Access can be displayed in the windows phone once I debugged in the Emulator?

Really appreciate any help in this because I'm not really sure if I'm on the right track in doing what I'm doing now. Thanks! :)

您无法直接访问Silverlight中的数据库。

您需要做的是构建一个Web服务并让它服务与数据库沟通。



应用程序将与服务进行通信。

一个例子 - Windows Phone上的Web服务 [ ^ ]。
You cannot directly access databases in Silverlight.
What you will need to do is build a web service and let that service communicate with the database.

The App will communicate with the service.
An example - Web service on Windows Phone[^].