//10/23/2015 NS added for VSPLUS-2253 private void FillSysInfo() { try { DataTable dt = VSWebBL.DashboardBL.DominoServerDetailsBL.Ins.GetServerDetailsData(""); Session["SysInfo"] = dt; SysInfoGrid.DataSource = dt; SysInfoGrid.DataBind(); } catch (Exception ex) { Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }
private void FillSysInfoFromSession() { DataTable dt = new DataTable(); try { if (Session["SysInfo"] != null && Session["SysInfo"] != "") { dt = Session["SysInfo"] as DataTable; } if (dt.Rows.Count > 0) { dt.PrimaryKey = new DataColumn[] { dt.Columns["ID"] }; } SysInfoGrid.DataSource = dt; SysInfoGrid.DataBind(); } catch (Exception ex) { Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } }