本文介绍了ms Access 2007的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以帮助我在ms Access 2007中连接数据库的连接字符串吗?
iam使用Windows 2007(64位操作系统)..
Can any on help with me the connection string for connecting the Database in ms access 2007 .
iam using windows 2007, 64 bit os..
推荐答案
OleDbConnection cnn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=c:\database.accdb;Jet OLEDB:Database Password=password;");
这篇关于ms Access 2007的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!