如何使用 Windows Phone 8 连接到已托管在服务器上的 SQL Server 数据库 [英] How to connect to a SQL Server database already hosted on server with windows phone 8

查看:28
本文介绍了如何使用 Windows Phone 8 连接到已托管在服务器上的 SQL Server 数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我在 Windows Phone 8 开发方面不是很熟练,我想讨论/询问将我的 Windows Phone 8 连接到 SQL Server 数据库的最佳方法是什么,我不想像我一样使用 Azure已经在用于网站的服务器上存在数据库.请任何人都可以给我完整的教程或帮助实现它吗?连接后,我只想使用用户的文本框输入从 wp8 应用程序触发选择查询

As I'm not that skilled in Windows Phone 8 development I would like to discuss/ask what is the best way to connect my Windows Phone 8 to a SQL Server database, I don't want to use Azure as I have already have the database present on server using for website. Please can anyone give me complete tutorial for the same or help in achieving it? And after connection, I want to fire select queries only from wp8 app using text box inputs from user

推荐答案

查看这里 Windows Phone 8 访问 SQL 远程数据库

Microsoft 不允许直接连接到远程数据库,因此您需要在连接到数据库的服务器上有一个服务,该服务通过 http 请求提供内容(使用 xml 或 json 表示数据)

Microsoft does not allow direct connection to remote databases, so you need to have a service ont the server connected to the database, that serves the content with http requests (using xml or json to represent the data)

这篇关于如何使用 Windows Phone 8 连接到已托管在服务器上的 SQL Server 数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆