通过一个数据库部署到2台计算机中 [英] Deploying into 2 computers with one database

查看:106
本文介绍了通过一个数据库部署到2台计算机中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库上有一个带有2table的简单应用程序,我可以在独立计算机上安装此Windows应用程序没有问题,因为一切都在那里.

这是我的问题,当我安装到其他计算机时,如何如上所述连接数据库服务器?我需要帮助.

Hi There, i have simple application with 2table on my database, i have no problem installing this windows application in a stand alone computer because everything is there.

Here''s my question how can i connect to database server as stated above, while i installed to other computer??? i need help.

推荐答案

好吧,通过使用连接字符串 [ ^ ]!

上面的链接提供了有关连接字符串的所有信息.可以在这里阅读有关数据通信的更多信息:使用ADO.NET访问数据 [ ^ ]
Well, by using a Connection String[^]!

The link above provides all info about connection string. Further info regarding the data communication can be read here: Accessing data with ADO.NET[^]


这篇关于通过一个数据库部署到2台计算机中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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