ASP.NET Page /Error.aspx (C#)
Uses Code Behind Page Page /Error.aspx.cs (C#)
1: <%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" Inherits="ErrorPage" Codebehind="Error.aspx.cs" %>  
2: <asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">  
3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
4:   
5:   
6: <table class="Content_Table" border="0" align="center" cellpadding="5">  
7: <tr>  
8:       
9:     <td valign="top" width="50%">  
10:         <table class="Inner_Table" border="0" align="center" cellpadding="5" width="90%">  
11:         <tr align="center">  
12:             <td><asp:Label ID="Label1" runat="server" CssClass="Question_TextArea" Text="Serious error occured"></asp:Label></td>  
13:         </tr>                                  
14:         <tr>  
15:             <td><asp:Label ID="lblOffendingUrl" runat="server"></asp:Label></td>  
16:         </tr>  
17:         <tr>  
18:             <td><asp:Label ID="lblErrorMessage" runat="server"></asp:Label></td>  
19:         </tr>  
20:         <tr>  
21:             <td><asp:Label ID="lblSource" runat="server"></asp:Label></td>  
22:         </tr>  
23:         <tr>  
24:             <td><asp:Label ID="lblStackTrace" runat="server"></asp:Label></td>  
25:         </tr>  
26:         <tr>  
27:             <td><asp:Label ID="lblInnerException" runat="server"></asp:Label></td>  
28:         </tr>    
29:         <tr>  
30:             <td><asp:Label ID="lblHelpLink" runat="server"></asp:Label></td>  
31:         </tr>  
32:         <tr>  
33:             <td><asp:Label ID="lblTargetSite" runat="server"></asp:Label></td>  
34:         </tr>  
35:         <tr>  
36:             <td><asp:Label ID="lblErrorDesc" runat="server"></asp:Label></td>  
37:         </tr>                                                                                                                                
38:         </table>      
39:     </td>  
40: </tr>  
41: </table>  
42:   
43: </asp:Content>

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.