private void FillNotesMailProbeHistoryGrid() { try { DataTable ProbHistoryDataTable = new DataTable(); ProbHistoryDataTable = VSWebBL.ConfiguratorBL.NotesMailProbeBL.Ins.GetAllHistoryData(); if (ProbHistoryDataTable.Rows.Count > 0) { Session["NotesMailProbeHistory"] = ProbHistoryDataTable; MailProbeHistoryGridView.DataSource = ProbHistoryDataTable; MailProbeHistoryGridView.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 FillNotesMailProbeGridHistoryfromSession() { try { DataTable HistoryDataTable = new DataTable(); if (Session["NotesMailProbeHistory"] != null && Session["NotesMailProbeHistory"] != "") { HistoryDataTable = (DataTable)Session["NotesMailProbeHistory"]; //VSWebBL.ConfiguratorBL.DominoPropertiesBL.Ins.GetAllData(); } if (HistoryDataTable.Rows.Count > 0) { MailProbeHistoryGridView.DataSource = HistoryDataTable; MailProbeHistoryGridView.DataBind(); } } catch (Exception ex) { //6/27/2014 NS added for VSPLUS-634 Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }