为Windows应用程序制作集中数据库 [英] Make Centralized Database for Windows Application

查看:88
本文介绍了为Windows应用程序制作集中数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试使用Sql Server和vb.net开发一个集中式数据库Windows应用程序...如果不在客户端计算机上安装sql server,我可以帮助我如何制作集中式数据库。 (我已经在Sever Machine上安装了Sql Server。)

请帮帮我。

Hello, I am trying to develop a centralized database windows application with Sql Server and vb.net... can u help me to how can i make centralized database without installing sql server on client machine. ( i have already install Sql Server on Sever Machine.)
Please help me.

推荐答案

你已经完成了!

只需编写代码,以便从配置文件中读取连接字符串,并将文件设置为连接到SQL的服务器实例



然后他们都使用相同的数据库,并且如果你遵守与多用户访问相关的所有常见的简单预防措施,你会没事的。
You have already done it!
Just write you code so that the connection string is read in from a config file, and set the file to connect to the server instance of SQL

Then they all user the same DB, and provided you observe all the usual simple precautions related to multiuser access, you'll be fine.


这篇关于为Windows应用程序制作集中数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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