private void FillLicenceReportGrid()
 {
     try
     {
         DataTable Licenceinformation = new DataTable();
         Licenceinformation = BL.LicenseKeyBL.Ins.GetLicenceReportInformation(Convert.ToString(Session["UserID"]));
         Session["Licence"] = Licenceinformation;
         LicenceReportGridView.DataSource = Licenceinformation;
         LicenceReportGridView.DataBind();
     }
     catch (Exception ex)
     {
         Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
         throw ex;
     }
     finally { }
 }
 private void FillLicenceReportGridfromSession()
 {
     try
     {
         DataTable Licenceinformation = new DataTable();
         if (Session["Licence"] != null && Session["Licence"] != "")
         {
             Licenceinformation = (DataTable)Session["Licence"];                    //VSWebBL.ConfiguratorBL.WindowsPropertiesBL.Ins.GetAllData();
         }
         if (Licenceinformation.Rows.Count > 0)
         {
             LicenceReportGridView.DataSource = Licenceinformation;
             LicenceReportGridView.DataBind();
         }
     }
     catch (Exception ex)
     {
         //6/27/2014 NS added for VSPLUS-634
         Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex);
         throw ex;
     }
     finally { }
 }