摘要:
Global.asax void Application_Error(object sender, EventArgs e) { //在出现未处理的错误时运行的代码 Exception objErr = Server.GetLastError().GetBaseException(); string error = "发生异常页: " + Request.Url.ToString() + ""; error += "<br/>异常信息: " + objErr.Message + ""; Server.C 阅读全文