OleDb连接到外部数据库 [英] OleDb Connection to external database

查看:101
本文介绍了OleDb连接到外部数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的本​​地ISP在个人网络空间方面有很多优惠,通常用户使用它来托管他们的网站,但ISP也声明可以在其上托管数据库。到目前为止,我可以在我的硬盘本地连接到accdb文件,但如果希望访问类似ftp的Web服务器上的文件,连接字符串将如何?如果从我的isp接收IP地址和登录凭据。



My local ISP has great deals on personal web space and usually users use it to host their websites , but the ISP also states you can host a database on it. Now thus far i can connect to a accdb File locally on my HDD but how would the connection string look like if in wish to access the file on ftp-like web server? If would receive ip address and login credentials from my isp.

string sConnectionString = "Provider=Microsoft.ACE.OlEDB.12.0;DataSource =...";




oleDbConnection cnMyConnection = new oleDbConnection(sConnectionString);





谢谢你的时间。



Thank you for your time.

推荐答案

看看这里:http://www.connectionstrings.com/access/ [ ^ ]

OleDB教程(C#) [ ^ ]
have a look here: http://www.connectionstrings.com/access/[^]
OleDB Tutorial (C#)[^]


这篇关于OleDb连接到外部数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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