如何访问从Windows 8应用程序的SQL Server?

问题描述:

我认识到,一个本地SQL Server实例不能访问我的Windows 8应用。相反,我有一个SQL Server在Azure上。在SQL Server Management Studio中,我只是改变查询字符串,并与像任何其他在Azure数据库进行交互。我怎么可以参考该数据库在我的Windows 8应用?

I realize that a local SQL Server instance is not accessible to my Windows 8 app. Instead, I have a SQL Server in Azure. In SQL Server Management Studio, I just change the querystring and interact with the Azure database like any other. How can I reference that database in my Windows 8 app?

您无法直接访问SQL数据库。由于Windows 8的应用程序从Windows形式不同。 但是,你可以使用Web服务或天蓝色,亚马逊的服务,存储文件等。

You can't access directly on sql databases.. Because Windows 8 Apps different from windows forms. But you can be used web services or azure, amazon services, storage files etc.