Vb.net Desktoplevel数据库应用程序通过云服务器SQL Server数据库连接 [英] Vb.net Desktoplevel DataBase Application Connection Through Cloud Server SQL Server Database

查看:105
本文介绍了Vb.net Desktoplevel数据库应用程序通过云服务器SQL Server数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


   我可以通过sql server数据库在线连接vb.net桌面级数据库应用程序连接。这是我在云服务器上的sql server数据库。是否可能?,如果是,那么我的数据库连接字符串有什么变化。

解决方案

您好


vb.net连接对象字符串的服务器设置为的IP地址数据库,另一个与本地连接配置相同。

 

Dim ConnectionString As String =" server = IP,port; database = xxx; Uid = xxx; Pwd = xxx"

最好的问候,


alex


Hi,

   Can i connect vb.net desktop level database application connection through sql server database online.Here my sql server database in cloud server.Is it possible ?,if yes then what are the changes in my database connection string.

解决方案

Hi

The server of the vb.net connection object string is set to the IP address of the database, and the other is the same as the local connection configuration.

Dim ConnectionString As String = "server=IP,port;database=xxx;Uid=xxx;Pwd=xxx"

Best Regards,

alex


这篇关于Vb.net Desktoplevel数据库应用程序通过云服务器SQL Server数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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