Ejemplo n.º 1
0
 private void FillMobileDevicesGrid()
 {
     try
     {
         DataTable dt1 = VSWebBL.DashboardBL.LotusTravelerHealthBLL.Ins.GetKeyUserDevices("");
         if (dt1.Rows.Count > 0)
         {
             maxmin = Convert.ToInt32(dt1.Rows[0]["LastSyncMin"].ToString());
             minmin = Convert.ToInt32(dt1.Rows[dt1.Rows.Count - 1]["LastSyncMin"].ToString());
         }
         KeyMobileDevicesGrid.DataSource = dt1;
         Session["KeyMobileDevicesGrid"] = dt1;
         KeyMobileDevicesGrid.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 FillMobileDevicesGridfromSession()
 {
     try
     {
         DataTable dt = new DataTable();
         if ((Session["KeyMobileDevicesGrid"] != null))
         {
             dt = (DataTable)Session["KeyMobileDevicesGrid"];//VSWebBL.ConfiguratorBL.DominoPropertiesBL.Ins.GetAllData();
             if (dt.Rows.Count > 0)
             {
                 KeyMobileDevicesGrid.DataSource = dt;
                 KeyMobileDevicesGrid.DataBind();
             }
         }
     }
     catch (Exception ex)
     {
         //6/27/2014 NS added for VSPLUS-634
         Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
         throw ex;
     }
     finally { }
 }