PageRenderTime 55ms CodeModel.GetById 22ms RepoModel.GetById 0ms 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
  1. using System;
  2. using System.Collections;
  3. using System.Configuration;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.Security;
  8. using System.Web.UI;
  9. using System.Web.UI.HtmlControls;
  10. using System.Web.UI.WebControls;
  11. using System.Web.UI.WebControls.WebParts;
  12. using System.Xml.Linq;
  13. namespace BaliEnterpriseSystems
  14. {
  15. public partial class BestSiteError : System.Web.UI.Page
  16. {
  17. protected void Page_Load(object sender, EventArgs e)
  18. {
  19. Exception LastError;
  20. LastError = Server.GetLastError();
  21. if (LastError != null)
  22. {
  23. errorMsg.Text = LastError.Message;
  24. }
  25. }
  26. }
  27. }