private void PopulateCHGTotals(String grossExported) { StoredProcedures sp = new StoredProcedures(); String fiscalYear = (String)Session["FiscalYear"]; DataSet ds = sp.GetCHGTotals(fiscalYear, grossExported); Session["RevTotalsDs"] = ds; if (ds.Tables[0].Rows.Count > 0) { CHGTotalsTotalsPanel.Visible = true; CHGTotalsGridView.DataSource = ds; CHGTotalsGridView.DataBind(); } }