简体   繁体   English

将Visual Studio与Web服务器连接

[英]Connect Visual Studio with Web Server

I made account with a hosting service and they give me sql username, password and hostname... then I created database, created table and inserted some data. 我用托管服务注册帐户,他们给了我sql用户名,密码和主机名...然后我创建了数据库,创建了表并插入了一些数据。 Now I want to connect it to my program (windows phone 7.1) by using Microsoft Sync Framework. 现在,我想使用Microsoft Sync Framework将其连接到我的程序(Windows Phone 7.1)。 Can someone help me with that? 有人可以帮我吗?

When I go to database explorer and press add connection I see these options but don't know which to use: 当我进入数据库浏览器并按添加连接时,我看到了以下选项,但不知道使用哪个:

  • Microsoft Access Database File Microsoft Access数据库文件
  • Microsoft SQL Server Compact 3.5 Microsoft SQL Server Compact 3.5
  • Microsoft SQL Server Database File Microsoft SQL Server数据库文件

this here should help you: 这应该可以帮助您:

http://blogs.msdn.com/b/wriju/archive/2011/08/01/windows-phone-7-using-local-database-for-application.aspx http://blogs.msdn.com/b/wriju/archive/2011/08/01/windows-phone-7-using-local-database-for-application.aspx

Your thinking about the Mobile Platform like it is Windows 7, The Mobile platform deals with Data differently and that blog post should help you understand. 您对Windows 7这样的移动平台的思考,使移动平台处理数据的方式有所不同,并且该博客文章应该可以帮助您理解。

Wp7.0 = Isolated Storage Wp7.1 = Database, This data base is accessed via Linq. Wp7.0 =隔离存储Wp7.1 =数据库,可通过Linq访问此数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM