.Net下打开带密码的ACCESS文件的connectionStrings
时间:2011-05-20 来源:WayToDotNET
Database Password之前必须加上“Jet OLEDB:”才能打开密码保护的ACCESS文件
<connectionStrings>
<add name="AutoMail.My.MySettings.automailConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\AccessDB\automail.mdb;Jet OLEDB:Database Password=LM81;"
providerName="System.Data.OleDb" />
</connectionStrings>
相关阅读 更多 +