using framework_business; using System; using System.Diagnostics; public partial class Error : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Debugger.IsAttached) { foreach (oExceptions ex in xData.GetTypedByCriteriaSpecific("recId", typeof(oExceptions), "", "", "recId DESC")) { lblException.Text = ex.Exception; break; } } } }