vb.net应用程序的在线访问数据库

问题描述:

我在vb.net中创建一个应用程序我想在sql server中使用一个数据库,我想从互联网上访问它,请告诉我如何编写代码并从任何网站访问它,这让我允许它

i没有VPN所以我怎么做呢

或者如果有任何其他方式这样做那么电话我

有没有任何免费的VPN

i有一个应用我的一个城市,一个是其他但我没有vpn所以我怎么可以访问它请帮助我

i am make a application in vb.net i want to use a database in sql server and i wana to accesses it from a internet kindly tell me how i can write code and access it from any website which give me allow me it
i have no VPN So how i can do it
or if any other way for do this so tel me
is there any free vpn
i have a application my one city and one is other but i have no vpn so how i can access it please help me

它'如果您的SQL Server应该从外部应用程序访问而不是所有防火墙设置,并且应该已经配置了什么以允许您访问它,那么这些都在连接字符串中。如果它不可公开访问,则需要执行以下两项操作之一,或者让IT部门打开服务器以进行外部访问,或者跳过IT部门告诉您的任何操作,以便连接到数据库。这包括但不限于连接到VPN,修改应用程序逻辑或以一些长期被遗忘的神的名义谋杀小精灵。



之后取一个看这里: http://www.connectionstrings.com [ ^ ]
It''s all in the connection string, if your SQL Server is supposed to be accessed from an external application than all the firewall settings and whatnot should already be configured to allow you to access it. If its not publicly accessible you need to do 1 of 2 things, either get your IT department to open up the server for external access or jump through whatever hoops the IT department tells you to do so you can connect to the database. That includes, but is not limited to, connecting to the VPN, Modifying Application Logic or murdering a pixie in the name of some long forgotten deity.

After that take a look here: http://www.connectionstrings.com[^]