asp.net实现非常实用的自定义页面基类(附源码)(4)

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; } }

完整实例代码代码点击此处本站下载

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wjwfyp.html