<!--数据库连接字符串-->
<connectionStrings>
<add name="connStr" connectionString="server=.;database=newssystem;user=sa;pwd=123456"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<!--********出错页的设定********-->
<customErrors mode="On" defaultRedirect="~/Error.htm"> </customErrors>
Web.config中字符串与出错页设定
最新推荐文章于 2017-02-15 16:53:21 发布