【问题标题】:How to open Excel 2007 (xlsx) file with CDaoDatabase如何使用 CDaoDatabase 打开 Excel 2007 (xlsx) 文件
【发布时间】:2009-09-16 15:54:25
【问题描述】:

使用 afxdao.h 中定义的 CDaoDatabase,如何打开 Excel 2007 (xlsx) 文件?我可以使用连接字符串 Excel 8.0;HDR=NO;IMEX=1 打开 Excel 2003 (xls) 文件,有人知道我该怎么做吗?

谢谢!

【问题讨论】:

    标签: excel odbc dao xlsx


    【解决方案1】:

    您需要使用 Microsoft.ACE.OLEDB.12.0 作为提供程序。不确定 DAO 是否支持。 MFC's DAO classes are deprecated.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-01-23
      • 1970-01-01
      • 2019-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多