ErrorPage.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ErrorPage.aspx.cs" Inherits="ErrorPage" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>网站错误页面</title>    
  6. <link href="ASPNET2.0BaseCss.css" type="text/css" rel="stylesheet">
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10. <table cellSpacing="0" cellPadding="0" width="75%" align="center" border="0">
  11. <TR>
  12. <TD bgColor="#d8e4f8" colSpan="2" height="4"></TD>
  13. </TR>
  14. <tr>
  15. <td vAlign="top" width="153" bgColor="#eff7f4"><asp:image id="RegisterImage" Runat="server" Width="153"></asp:image></td>
  16. <TD align="center" bgColor="#ebebff">
  17. <TABLE cellSpacing="4" cellPadding="0" width="580">
  18. <TR vAlign="top" height="*">
  19. <TD colSpan="2" height="148">
  20. <TABLE cellSpacing="0" cellPadding="4" width="100%" border="0">
  21. <tr>
  22. <td><a><b>错误页:</b></a>&nbsp;&nbsp;<a><font color="red"><%=Request["ErrorUrl"]%></font></a></td>
  23. </tr>
  24. <TR>
  25. <TD>
  26. <HR noShade SIZE="1">
  27. </TD>
  28. </TR>
  29. <TR>
  30. <td class="Normal" valign="top">
  31. <a><b>错误信息:</b></a>
  32. <br>
  33. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a><font color="red"><%=Request["ErrorMsg"]%></font></a>
  34. </td>
  35. </TR>
  36. <tr>
  37. <td height="220"></td>
  38. </tr>
  39. <tr>
  40. <td vAlign="middle" align="center" height="80"><asp:button id="BackBtn" runat="server" Width="100" CssClass="ButtonCss" Text="返回" OnClick="BackBtn_Click"></asp:button></td>
  41. </tr>
  42. <tr>
  43. <td colspan="2" width="100%">
  44. <hr size="1">
  45. </td>
  46. </tr>
  47. </TABLE>
  48. </TD>
  49. </TR>
  50. </TABLE>
  51. </TD>
  52. </tr>
  53. </table>
  54. </form>
  55. </body>
  56. </html>