Displaying a Custom Error Page

<customErrorsmode="RemoteOnly"defaultRedirect="/ErrorPages/Oops.aspx">
   
<errorstatusCode="404"redirect="/ErrorPages/404.aspx"/>
</customErrors>

http://www.asp.net/web-forms/tutorials/deployment/displaying-a-custom-error-page-cs
posted @ 2011-12-13 16:03  Kazaf  阅读(130)  评论(0编辑  收藏  举报