windows身份登录:
<add name="ConStr" connectionString="Data Source=XEX9W2GS4YEFRLD;Initial Catalog=Phone;Integrated Security=True"/> 链接字符串使用: string constr = ConfigurationManager.ConnectionStrings["ConStr"].ConnectionString;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;Jet OLEDB:Database Password=MyDbPassword;