Ejemplo n.º 1
0
        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 { }
        }
Ejemplo n.º 2
0
 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 { }
 }