且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

连接到Access数据库的问题:

更新时间:2023-02-22 08:20:04

Hi Cindy,

Hi Cindy,

感谢您的帖子。

在您的第4步中,"添加连接"对话框应该这样:

In your step4 the "Add Connection" dialog box should like in this way:

连接到Access数据库的问题:

你可以"浏览"您的.accdb文件,然后是"测试连接"----->成功

you can "Browse" your .accdb file, then "Test Connection"-----> success

>>>>>""添加连接"对话框在顶部显示相应的选项,
但下面的列表 仅包含 类别"其他"使用条目连接字符串。当我在旁边的框中键入连接字符串时,我可以单击"测试连接"。并报告成功。但是,如果我点击确定,我会收到
我收到上面引用的错误消息。

>>>>>The "Add Connection" dialog box displays the appropriate choice at the top, but the list below contains only thecategory "Misc" with an entry Connection String. When I type the connection string into the box next to that I can click on "Test Connection" and that reports success. But if I click on OK I get the error message quoted above.

连接字符串可能是这样的: " Provider = Microsoft.ACE.OLEDB .12.0 ;数据  Source = | DataDirectory | \users.accdb" ) 

Connection string may like this way:("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\users.accdb"

有美好的一天。