protected void bindSpecial() { pageTotal = special_bll.GetRecordCount(GetStrWhere()); DataSet ds = special_bll.GetListByPage(GetStrWhere(), pageSize, pageIndex, " special_id asc"); gvwData.DataSource = ds; gvwData.DataBind(); }
protected void bindSpecial() { if (pagerList.CurrentPageIndex == 1) { rpt_jingpin_list.DataSource = special_bll.GetSpecial(pagerList.PageSize, "", " special_id asc "); rpt_jingpin_list.DataBind(); } else { rpt_jingpin_list.DataSource = special_bll.GetListByPage("", " special_id asc ", pagerList.StartRecordIndex, pagerList.EndRecordIndex); rpt_jingpin_list.DataBind(); } pagerList.RecordCount = special_bll.GetRecordCount(""); }