如何在各种系统上安装c#应用程序,并在一个系统上共享一个数据库 [英] how can I make an application build in c# installed on various systems and they will share one database at one system

查看:83
本文介绍了如何在各种系统上安装c#应用程序,并在一个系统上共享一个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在各种系统上安装c#应用程序,并在一个系统上共享一个数据库

how can I make an application build in c# installed on various systems and they will share one database at one system

推荐答案

为此您需要一个专用服务器安装了数据库。然后在您的应用程序中,您将拥有该数据库的连接字符串。任何运行应用程序的机器都可以连接到数据库。
For that you would need a dedicated server with a database installed on it. Then in your application, you would have a connection string to that database. Any machine running the application will be able to connect to the database.


你好,

你需要的是像MySql,MS-Sql或Oracle这样的数据库服务器。安装在其中一台机器上,然后使用ADO.NET从C#客户端执行所需的CRUD操作,该操作将安装在客户机上。

主要要求是网络的存在。

如果您使用的是数据库访问,那么您可以使用安装在同一台机器上的Web服务来实现它。这个数据库是在哪个。安装。然后你可以使用webclient API从C#客户端访问这些服务。



问候
Hello,
what you need is a database server like MySql, MS-Sql or Oracle. Installed on one of the machine & then use ADO.NET to perform the required CRUD operations from C# client, which ofcourse will be installed on the client machine.
The major requirement though is the presence of network.
In case if you are using access like database, then you can achieve it using web services installed on the same machine. On which this database is. Installed. Then you can access these services from C# client using webclient API.

Regards


感谢好友你的回复我其实想要A,B,C,使用一个数据库的客户端系统驻留在系统E上...所以我应该在d E系统上将连接字符串设置为d数据库的名称,因为我仍然对如何去的方式感到困惑关于它的家人在事先感谢好友。
Thanks buddy for your response I actually want the A , B , C , client system to be using one database resided on system E ... So I should just make the connection string to the name of d database on d E system right because I'm still little confused on how to go about it family thanks in advance buddy .


这篇关于如何在各种系统上安装c#应用程序,并在一个系统上共享一个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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