private void PopulateControls() { decimal priceMax = 0m; int countMax = 0; DataTable dt = bll.GetBiJiaoMingXiList(userId, today, catTypeId, out priceMax, out countMax); CatTypeList.DataSource = dt; CatTypeList.DataBind(); this.hidChartData.Value = ItemHelper.GetChartData(dt, "PageUrlCur"); this.hidChartData2.Value = ItemHelper.GetChartData(dt, "PageUrlPrev"); }
protected void PopulateControls() { double priceMax = 0; int countMax = 0; DataTable dt = ItemAccess.GetBiJiaoMingXiList(catTypeId, today, userId, out priceMax, out countMax); CatTypeList.DataSource = dt; CatTypeList.DataBind(); this.hidChartData.Value = ItemHelper.GetChartData(dt, "PageUrlCur"); this.hidChartData2.Value = ItemHelper.GetChartData(dt, "PageUrlPrev"); }