通过互联网访问带有vb.net应用程序的sql数据库 [英] Access sql database with vb.net application via the internet

查看:80
本文介绍了通过互联网访问带有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 a ConnectionString in App.config or Web.config.
Connect to database with that string.

For selecting correct ConnectionString, refer - http://www.connectionstrings.com[^]


这篇关于通过互联网访问带有vb.net应用程序的sql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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