从Dropbox导入Access数据 [英] Importing Access data from Dropbox

查看:75
本文介绍了从Dropbox导入Access数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从Access数据库表中将一些数据导入数据表。当文件存储在本地时,这很好用: -



I want to import some data to a datatable from an Access database table. When the file is stored locally, this works fine :-

string connString =
                "Provider=Microsoft.ACE.OLEDB.12.0;data source=C:\\database.accdb";





但是,当文件存储在Dropbox上时,这个不起作用: -





However, when the file is stored on Dropbox, this doesn''t work :-

string connString =
                "Provider=Microsoft.ACE.OLEDB.12.0;data source=https://www.dropbox.com/sharedurl/BillingFileConverterV6.accdb";





我得到一个不是有效的文件名错误。



有人能让我知道我需要改变什么吗?



提前致谢



and I get a "Not a valid file name" error.

Could someone let me know what I need to change?

Thanks in advance.

推荐答案

由于DropBox需要身份验证,因此它不允许您从该位置获取数据。



使用您的Dropbox保存文件的系统位置,如上所述。
Since DropBox requires Authentication, therefore it does not allows you to get data from that location.

Use your System Location where your dropbox saves files Locally as you have mentioned above.


这篇关于从Dropbox导入Access数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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