配置文件
<!--数据地址-->
<!--<add key="ConnectionString" value="Data Source=orcl;User ID=hzjgtest;Password=123456;" />
<add key="dbProviderName" value="System.Data.OracleClient" />-->
<add key="ConnectionString" value="Server=.;initial catalog=Hzjg_AutoBuildSite;User Id=sa;Password=123456;"/>
<add key="dbProviderName" value="System.Data.SqlClient"/>
<!--<add key="ConnectionString" value="Data Source=orcl;User ID=hzjgtest;Password=123456;" />
<add key="dbProviderName" value="System.Data.OracleClient" />-->
<add key="ConnectionString" value="Server=.;initial catalog=Hzjg_AutoBuildSite;User Id=sa;Password=123456;"/>
<add key="dbProviderName" value="System.Data.SqlClient"/>
mysql配置文件连接字符串
<add key="ConnectionString" value="server=数据库地址;user id=root; password=123456; database=数据库名称; pooling=false" />
<add key="dbProviderName" value="MySql.Data.MySqlClient" />
<add key="dbProviderName" value="MySql.Data.MySqlClient" />