public void FilloutagefromSession() { DataTable dt = new DataTable(); dt = Session["Outage"] as DataTable; OutageGridView.DataSource = dt; OutageGridView.DataBind(); }
public void FillOutageTab() { DataTable dt = new DataTable(); //9/29/2015 NS modified for VSPLUS-2212 string type = ""; if (Request.QueryString["Type"].ToString() == "Traveler") { type = "Domino"; } else { type = Request.QueryString["Type"].ToString(); } dt = VSWebBL.DashboardBL.DominoServerDetailsBL.Ins.GetOutage(servernamelbl.Text, type); Session["Outage"] = dt; OutageGridView.DataSource = dt; OutageGridView.DataBind(); }