【问题标题】:Which provider should I select to connect to Excel version 11 through AdoConnection?我应该选择哪个提供商通过 AdoConnection 连接到 Excel 版本 11?
【发布时间】:2010-02-23 09:18:14
【问题描述】:

我需要通过TADOConnection连接Excel表格,我不知道在ConnectionString属性中写入什么。对于 Excel 版本 8,我使用 Jet,对于 12,我使用 ACE,那么 11 呢?

ConnectionString 应该是什么样子?

【问题讨论】:

    标签: excel connection-string ado


    【解决方案1】:

    v12 之前的任何内容都可以使用 Jet 连接字符串。 This site 在我的书签列表的顶部,因为我总是忘记正确的 ConnectionString 语法。

    编辑: 我以前从未遇到过与 ISAM 相关的错误,但 this discussion thread 有很好的信息来让连接字符串完全正确。

    【讨论】:

    • 当我将 Jet 与此 excel 文件一起使用时,我收到错误“找不到可安装的 ISAM”。你知道怎么解决吗?
    猜你喜欢
    • 2022-08-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-02
    • 2018-07-11
    • 1970-01-01
    • 1970-01-01
    • 2019-07-24
    相关资源
    最近更新 更多