private void FillPowerGridfromSession() { try { DataTable pwrshltable = new DataTable(); if (Session["PwrShel"] != "" && Session["PwrShel"] != null) { pwrshltable = (DataTable)Session["PwrShel"];//VSWebBL.ConfiguratorBL.DominoPropertiesBL.Ins.GetAllData(); } if (pwrshltable.Rows.Count > 0) { PwrShelGridView.DataSource = pwrshltable; PwrShelGridView.DataBind(); } } catch (Exception ex) { //6/27/2014 NS added for VSPLUS-634 Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }
private void FillPowerGrid() { try { DataTable pwrshltable = new DataTable(); pwrshltable = VSWebBL.ConfiguratorBL.PwrshelBL.Ins.GetPwrData(); if (pwrshltable.Rows.Count > 0) { Session["PwrShel"] = pwrshltable; PwrShelGridView.DataSource = pwrshltable; PwrShelGridView.DataBind(); ((GridViewDataColumn)PwrShelGridView.Columns["Category"]).GroupBy(); } } catch (Exception ex) { //6/27/2014 NS added for VSPLUS-634 Log.Entry.Ins.WriteHistoryEntry(DateTime.Now.ToString() + " Exception - " + ex); throw ex; } finally { } }