web_config配置
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
</system.web>
<appSettings>
<add key="connectionString" value="server=.;database=数据库名称;UID=用户名;PWD=密码"/>
</appSettings>
</configuration>