在同一个数据库中同时运行两台计算机中的程序? [英] Run program In Two Computer with same database as same time?

查看:64
本文介绍了在同一个数据库中同时运行两台计算机中的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我使用c#和SQL数据库编写程序,我希望在一台数据库的两台计算机上运行程序同时我在网络上尝试附加数据库但它工作在一台计算机和另一台计算机不工作它需要远程连接我尝试但它不工作第二次我尝试在互联网上搜索安装Windows服务器,并使一个计算机管理员和另一个客户端,但我不能应用它所以任何人帮助我?

Hi everyone

I make program with c# and SQL dataBase and I want to run Program in two Computer with one Database as same time my trying attach database on network but it work on one computer and another computer not work it need to remote connection I try but it not work second my trying search on internet for setup windows server and make one computer Admin and another client but I can't ِapply it so can anyone help me ?

推荐答案

您不需要远程连接来连接数据库。

配置客户端连接到单个数据库放在网络位置。

这两个客户都应该可以访问这个位置。
You do not need a remote connection to connect to the database.
Configure the clients to connect to a single database that is placed on a network location.
This location should be accessible to both clients.


如何配置客户端连接到单个数据库?
How can I Configure the clients to connect to a single database?


这篇关于在同一个数据库中同时运行两台计算机中的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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