コード例 #1
0
 public void FillQueueGrid()
 {
     try
     {
         DataTable StatusTable = VSWebBL.DashboardBL.MailHealthBL.Ins.GetMailDelivData("Exchange");
         ExchangeMailGridView.DataSource = StatusTable;
         ExchangeMailGridView.DataBind();
         Session["ExStatusTable"] = StatusTable;
     }
     catch (Exception ex)
     {
         Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
         throw ex;
     }
     finally
     {
     }
 }
コード例 #2
0
 public void FillQueueGridFromSession()
 {
     if (Session["ExStatusTable"] != "" && Session["ExStatusTable"] != null)
     {
         DataTable StatusTable = Session["ExStatusTable"] as DataTable;
         try
         {
             ExchangeMailGridView.DataSource = StatusTable;
             ExchangeMailGridView.DataBind();
         }
         catch (Exception ex)
         {
             Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
             throw ex;
         }
         finally
         {
         }
     }
 }