且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

设置Windows窗体应用程序,连接到数据库以在不同的计算机上运行

更新时间:2023-12-06 12:50:22

购买SQL Server(或使用Express)

在SERVER上安装它,这需要服务器而不是本地机器。

创建数据库

创建你的应用程序

使用连接来连接数据库以存储和检索数据库中的数据。



不要忘记考虑到开发和生产数据库。开发可能是在你当地的机器上,但我建议它住在一个单独的服务器上。


hi all
i want to create windows form application which will be installed on many other computers
like warehouse , where i should save my data that the application will interact with, and any user will see the changes by any other user.
i tried to connect to sql but i want it to display on other computers

Purchase SQL Server (or use Express)
Install it on a SERVER, this will require a server not your local machine.
Create your database
create your application
use a connection to connect to the database to store and retrieve data from the database.

Do not forget to take into account a development and a production database. Development may be on your local maching but I suggest it live on a seperate server.