问题描述
您好,我刚刚完成了我的C#应用程序(.Net 2008),其中包含CrystalReports并处理SQL Server 2005,现在我想将计算机上的数据库(简称为DB-Computer)和另一台计算机上的应用程序(简称为客户端计算机"),我只知道我必须在客户端计算机上安装(.NET Framework 3.5)才能运行应用程序..
现在,我需要一步一步地知道如何使它工作..
*我必须在DB-Computer上安装什么?
*我必须在客户端计算机上安装什么?
*连接字符串是什么?
我得到这个答案;
1-我必须在DB-Computer上安装什么?
SQL Server
2-我必须在客户端计算机上安装什么?
.NET框架,还有Crystal报表运行时框架
3-什么是连接字符串?
连接字符串=数据源= DB-计算机IP地址;网络库= DBMSSOCN;初始目录= myDataBase;用户ID = myUsername;密码= myPassword;
附件
现在我需要知道
*如果db-computer ip = 0123456789什么是连接字符串?
* DBMSSOCN是什么意思?
*我不需要在客户端计算机上安装任何SQL工具吗?
[edit]整理一下...-OriginalGriff [/edit]
Hello , I just finished my C# application (.Net 2008) it contains CrystalReports and deal with SQL server 2005 , now I want to but the Data Base on computer(lets call it DB-Computer) and the application on another computer(lets call it Client-Computer), I just know that I must install (.NET Framework 3.5) on Client-Computer to run the application ..
now I need to know what I must do to make it work , step by step please..
* what i must install on DB-Computer?
* what i must install on Client-Computer?
* what the connection string will be?
i get this answer;
1-what i must install on DB-Computer?
SQL Server
2-what i must install on Client-Computer?
.NET framework, also Crystal report run-time framework
3- what the connection string will be?
connection string= Data Source=DB-Computer IPAddress;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;
Attachment
now i need to know
* if the db-computer ip=0123456789 what tha Connection String will be ?
* what is DBMSSOCN mean ?
* wont i need any SQL tool to install on Client-Computer ?
[edit]Just a tidy up... - OriginalGriff[/edit]
推荐答案
这篇关于如何将我的应用程序与其他计算机上的数据库连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!