日期:2014-05-17 浏览次数:20473 次
'提倡自己在Web.config中写,这样便于管理维护' <configuration> <configSections> ........ </configSections> <appSettings> <add key="connectionString" value="server=127.0.0.1;initial catalog=DBNAME;integrated security=false;uid=sa;pwd=123456;"></add> </appSettings> <connectionStrings/> <system.web> ........ </configuration>