/// <summary> /// 分页 /// </summary> public void Selectinfo(string str) { int count; BLL.AllWorklogBLL bll = new JumbotOA.BLL.AllWorklogBLL(); this.Repeater_Worklog.DataSource = bll.getpage(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, out count, str); this.Repeater_Worklog.DataBind(); AspNetPager1.RecordCount = count; }
/// <summary> /// 分页 /// </summary> public void Selectinfo(string str) { int count; BLL.AllWorklogBLL bll = new JumbotOA.BLL.AllWorklogBLL(); this.Repeater_Worklog.DataSource = bll.getpage(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, out count, str); this.Repeater_Worklog.DataBind(); AspNetPager1.RecordCount = count; }