如何在我的ftp服务器上应用连接字符串来自我的wndow应用程序的数据库 [英] How to apply Connection string on my ftp server Databases from My wndow application

查看:86
本文介绍了如何在我的ftp服务器上应用连接字符串来自我的wndow应用程序的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发Window应用程序。但我需要在Ftp中维护我的数据库。那么我怎样才能应用连接字符串。



默认情况下

Dim con as New SqlConnection(My Conn String)

Hi I''m developing Window application. But i Need to maintain my Database in Ftp. So How Could i Apply Connection String.

By Default
Dim con as New SqlConnection("My Conn String")

推荐答案

你不能这样做。我不知道一个可以通过FTP工作的数据库提供商,包括Access。



你必须在本地驱动器上或在服务器上的UNC路径,而不是FTP或HTTP路径。那些不起作用。
You can''t do that. I don''t know of a single database provider that will work over FTP, including Access.

You MUST have the Access database on either a local drive OR on a UNC path on a server, NOT an FTP or HTTP path. Those will not work.


这篇关于如何在我的ftp服务器上应用连接字符串来自我的wndow应用程序的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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