简体   繁体   English

关于数据库和远程连接

[英]about database and remote connections

i have some questions about databases and remote connections.. 我对数据库和远程连接有一些疑问。

i've made an application that connects to sql server db on local machine then i published the app. 我已经制作了一个连接到本地计算机上sql server db的应用程序,然后发布了该应用程序。 and installed it on other machine.. 并安装在其他机器上。

was very bad when i realised that the application won't work except that there are sql server instance on that machine.. :/ 当我意识到该应用程序将无法正常工作,那台机器上有sql server实例时,情况非常糟糕。

am thinking now to use access db instead of Sql Server.. but i don't know if i had to install access on every machine to make the app. 我现在正在考虑使用Access db而不是Sql Server ..但是我不知道我是否必须在每台计算机上安装访问权限才能制作该应用程序。 work ?? 工作?? or just the access db file "mdb" is enough to connect and react with data on that db ?? 或者只是访问数据库文件“ mdb”足以连接该数据库上的数据并与之反应?

and if i had to install access on the pc that hold the database, do i had to install it on client mashines too in order to access the db on server with remote connection ?? 如果我必须在保存数据库的PC上安装访问权限,是否也必须在客户端mashines上安装它才能访问具有远程连接的服务器上的数据库?

answering these question will rly help me too much. 回答这些问题将对我有很大帮助。

thx in advance. 提前。

No you don't have to install Access. 不,您不必安装Access。 ADO.Net will take care of connection. ADO.Net将负责连接。
Also you can use SQL Server Compact Edition. 您也可以使用SQL Server Compact Edition。 With adding some Dlls to your project, you don't need sql server installed on client machine as well. 通过向项目中添加一些Dll,您也不需要在客户端计算机上安装sql server。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM