NBear配置连接字符串

<!--连接sqlserver-->
<add name="" connectionString="Server=.;Database=Northwind;Uid=sa;Pwd=" />
    <!--连接access-->
    <add name="" connectionString="Provider=Microsoft.Jet.OleDb.4.0;Data Source=|DataDirectory|\数据库名称.mdb" providerName="access"/>

你可能感兴趣的:(Access)