PageRenderTime 39ms CodeModel.GetById 37ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/BaliEnterpriseSystems/BaliEnterpriseSystems/BestSiteError.aspx.cs

https://github.com/sirivedula/BEST
C# | 29 lines | 27 code | 2 blank | 0 comment | 2 complexity | 7b9d754b3aa4659d84c1797b71070129 MD5 | raw file
 1using System;
 2using System.Collections;
 3using System.Configuration;
 4using System.Data;
 5using System.Linq;
 6using System.Web;
 7using System.Web.Security;
 8using System.Web.UI;
 9using System.Web.UI.HtmlControls;
10using System.Web.UI.WebControls;
11using System.Web.UI.WebControls.WebParts;
12using System.Xml.Linq;
13
14namespace BaliEnterpriseSystems
15{
16    public partial class BestSiteError : System.Web.UI.Page
17    {
18        protected void Page_Load(object sender, EventArgs e)
19        {
20            Exception LastError;
21            LastError = Server.GetLastError();
22
23            if (LastError != null)
24            {
25                errorMsg.Text = LastError.Message;
26            }
27        }
28    }
29}