Access2007没有密码连接:
<connectionStrings>
<add name="myconn" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|MyDatabase.accdb;Persist Security Info=False;"/>
</connectionStrings>
Access2003:
<connectionStrings>
<add name="myconn" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|MyDatabase.mdb;Persist Security Info=False;"/>
</connectionStrings>
|DataDirectory|是指网站的App_Data目录。