如何连接共享的SQL数据库 [英] How to connect Shared sql database
本文介绍了如何连接共享的SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的数据库在共享文件夹中.现在我想连接到共享数据库.如何编写sqlconnection字符串.
在这里,我正在使用该共享数据库的IP地址,但没有使用.
您必须首先将数据库更改为服务器类型的引擎,例如MS SQL Server等.
这可能会更改您的应用程序的许多代码.
My database is in shared folder. now i want to connect to shared database. how to write sqlconnection string.
here i am using that shared database ip address but no use..
解决方案
A shared folder database implies a MSAccess or similar file based database.
You must first change your database to a server type engine like MS SQL Server etc.
This could potentially change a lot of your code for your application.
这篇关于如何连接共享的SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文