private void FillExchangeMailProbeHistoryGrid() { try { DataTable ProbHistoryDataTable = new DataTable(); ProbHistoryDataTable = VSWebBL.ConfiguratorBL.ExchangeMailProbeBL.Ins.GetAllHistoryData(); if (ProbHistoryDataTable.Rows.Count > 0) { Session["ExchangeMailProbeHistory"] = ProbHistoryDataTable; ExchangeMailProbeHistoryGridView.DataSource = ProbHistoryDataTable; ExchangeMailProbeHistoryGridView.DataBind(); } } catch (Exception ex) { //6/27/2014 NS added for VSPLUS-634 Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }
private void FillExchangeMailProbeGridHistoryfromSession() { try { DataTable HistoryDataTable = new DataTable(); if (Session["ExchangeMailProbeHistory"] != null && Session["ExchangeMailProbeHistory"] != "") { HistoryDataTable = (DataTable)Session["ExchangeMailProbeHistory"];//VSWebBL.ConfiguratorBL.DominoPropertiesBL.Ins.GetAllData(); } if (HistoryDataTable.Rows.Count > 0) { ExchangeMailProbeHistoryGridView.DataSource = HistoryDataTable; ExchangeMailProbeHistoryGridView.DataBind(); } } catch (Exception ex) { //6/27/2014 NS added for VSPLUS-634 Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }