通过互联网访问带有vb.net应用程序的sql数据库 [英] Access sql database with vb.net application via the internet
本文介绍了通过互联网访问带有vb.net应用程序的sql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个vb.net应用程序,将为各种客户端安装,我希望客户端应用程序通过互联网访问计算机(服务器)上的数据库
请帮帮我。
I have a vb.net application which will be installed for various clients, I want the client application to access the database on a computer (server) via the internet
please help me.
推荐答案
在App.config
或<中声明ConnectionString
code> Web.config 。
用该字符串连接数据库。
选择正确ConnectionString
,请参阅 - http://www.connectionstrings.com [ ^ ]
Declare aConnectionString
inApp.config
orWeb.config
.
Connect to database with that string.
For selecting correctConnectionString
, refer - http://www.connectionstrings.com[^]
这篇关于通过互联网访问带有vb.net应用程序的sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文