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>

posted @ 2015-12-17 17:32  小蚂蚁zoe  阅读(224)  评论(0编辑  收藏  举报