Access的连接字符串

 ODBC:"Driver={Microsoft Access Driver (*.mdb)};Dbq=C:/mydatabase.mdb;Uid=Admin;Pwd=;"

 OLE DB, OleDbConnection (.NET) :"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/somepath/mydb.mdb;User Id=admin;Password=;"
 OLE DB With password:"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/somepath/mydb.mdb;Jet OLEDB:Database Password=MyDbPassword;"

注:摘自http://www.connectionstrings.com/
 

你可能感兴趣的:(Access的连接字符串)