在三三台计算机上运行带有数据库的程序 [英] Run program with database on 3 three computer

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

问题描述

Hello world ..
前段时间设计了一个程序,并使用了该程序(Visual Studio C#2010),并使用该程序(SQL Express 2008)设计了一个数据库,现在我想知道:如何在3台计算机上运行我的程序,并在其中包含一台计算机(仅)原始数据的基础,并通过使用三台计算机来处理相同的基础数据.注意:三台计算机在局域网(LAN)中连接,并带有以下标志:我不知道如何连接已编程的计算机.

认为您每个身体都

Hello world..
Designed a program some time ago and used the program (visual studio c# 2010) and designed a database using the program (SQL express 2008) and now I want to know: How can I run my program on 3 computers, and contains one computer on the basis of the original data (only) and by using computers three to deal with the same base data. Note: the three computers connected in a local area network (LAN), with the flag: I do not know anything about how to connect computers programmed.

Think you every body

推荐答案

[连接字符串示例 [
124 million Google search results for "setup windows network"[^]

After you''ve setup your network, install Sql Server on one of the bxes, and the only thing that remains is coming up with the correct connection string to use in your program.

Connection string samples[^]


对网站使用web.config
和适用于Windows应用程序的app.config

并从下面选择连接

http://www.connectionstrings.com/sql-server-2005 [
use web.config for websites
and app.config for windows applications

and choose connections from below

http://www.connectionstrings.com/sql-server-2005[^]


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

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