Window应用程序与SQL Server之间的数据连接 [英] Data Connectivity between Window application and SQL Server
本文介绍了Window应用程序与SQL Server之间的数据连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
这是我的窗口应用程序(C#)的第一个项目.我必须在客户端站点上安装应用程序以进行测试.
在测试中,我将在LAN上的每个系统上安装应用程序.但是,数据库(SQL Server 2005)将放置在任何一个系统上.
我应该怎么做以及任何提示..
问候
Aman
Hi All,
It is my first project of window application(C#). I have to install application at client site for testing purpose.
In testing I will install application on every system on LAN. However, database (SQL Server 2005) will be placed on any one system.
How should I do it and any tips for it..
Regards
Aman
推荐答案
没关系,只需使用连接字符串在客户端中创建与数据库的连接
http://www.connectionstrings.com/sql-server-2005 [ http://msdn.microsoft.com/en-us/library/s4yys16a%28v = vs.71%29.aspx [ ^ ]
That''s fine, just create a connection in your client to the database using a connection string
http://www.connectionstrings.com/sql-server-2005[^]
http://msdn.microsoft.com/en-us/library/s4yys16a%28v=vs.71%29.aspx[^]
这篇关于Window应用程序与SQL Server之间的数据连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文