Author: thuhue | Posted on: 8/26/2009 1:02:11 PM | Views : 238

Given the following code on an error trapping page:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Master.Header = "Web Site Error"
        lblErrPage.Text = "Error on Page: " & Request.QueryString("aspxerrorpath").ToString
End Sub
If we need to know what causes the error. what would be the ASP.NET trapping variable for the error message as "aspxerrorpath" is for the culprit page name?
Thanks
 
...

Go to the complete details ...