public void QueryA() { DataSet ds = DbHelperSQL.Query("exec Baojia_TJ_FenXi_" + dropCondition.SelectedValue + " '" + this.dropYear.SelectedValue + "','','1'"); GridViewA.DataSource = ds.Tables[1]; GridViewA.DataBind(); lblA.Text = dropYear.SelectedValue + "年"; ViewState["tblA"] = ds.Tables[0]; bindChartA(ds.Tables[0]); }
public void BindData() { GridViewA.DataSource = ExpenseTracker.BL.MantenimientoCuentasUsuarioBL._Instancia.GetAll(usuario.id); GridViewA.DataBind(); }