Windows应用程序到SQL Server [英] windows application to sql server

查看:71
本文介绍了Windows应用程序到SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我已经创建了小型Windows Mobile应用程序,我想将Windows Mobile应用程序连接到PC中的sql服务器,为此我需要连接字符串.给我一些示例连接字符串,
在此先谢谢您

Hi all
I have created small windows mobile application, i want to connect my windows mobile application to sql server in my pc, i need connection string for that . give me some sample connection string,
thanks in advance

推荐答案

您不能,如果要执行此操作,则必须在移动设备上编写一个Web服务,该服务在您的PC中称为sqlserver数据库.

在这里,您可以找到如何编写Web服务的方法
您的第一个C#Web服务 [此处 [ ^ ]

谢谢
--RA
You can not, if you want to do this you have to write a web service on your mobile which is call your sqlserver database in your PC.

Here you can find the how to write a web service
Your first C# Web Service[^]

Consume it in Mobile application
Here[^]

Thanks
--RA


这篇关于Windows应用程序到SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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