VB中利用ADO链接ACCESS2007(accdb)数据库

Eddy 发布于2009-12-25 13:52:57 分类: 程序设计 已浏览loading 网友评论0条 我要评论

连接字符串(Connection strings):

Usage:  Provider=Microsoft.ACE.OLEDB.12.0

Standard security:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False

With database password:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Jet OLEDB:Database Password=MyDbPassword

DataDirectory functionality:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\myAccess2007file.accdb;Persist Security Info=False

先需要安装ACCESS2007或其驱动。

参考资料:http://www.connectionstrings.com/

已经有(0)位网友发表了评论,你也评一评吧!
原创文章如转载,请注明:转载自Eddy Blog
原文地址:http://www.rrgod.com/program/278.html     欢迎订阅Eddy Blog

关于 VB  Access2007  accdb  的相关文章

记住我的信息,下次不用再输入 欢迎给Eddy Blog留言