platform/ShowError.aspx.cs

26 lines
855 B
C#

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
public partial class ShowError : Page
{
protected void Page_Load(object sender, EventArgs e)
{
// StringBuilder strResponse =(StringBuilder) Session["ERROINFO"];
// String strResponse = Session["ERROINFO"].ToString();
// Response.Write(strResponse);
// lbErrtrace.Text = Session["ERROINFO"] == null ? "您没有登录,或当前会话已过期,请重新登录。" : Session["ERROINFO"].ToString();
lbErrtrace.Text =Application["error"]!=null? Application["error"].ToString() : " 请联系管理员。";
Application["error"] = null;
}
}