using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class ErrorPage : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { this.lblStackTrace.Text = this.Application["StackTrace"] as string; this.lblMessageError.Text = this.Application["MessageError"] as string; this.lblSourceError.Text = this.Application["SourceError"] as string; this.lblTagetSiteError.Text = this.Application["TargetSite"] as string; } }
完整实例代码代码点击此处本站下载。