protected void BindDataList() { SB_UserMEL userm = new SB_UserMEL(); DataSet ds = userm.GetPageList(this.AspNetPager1.CurrentPageIndex, string.Empty, OrderType.desc); if (ds != null) { this.AspNetPager1.RecordCount = PagerInfo.GetRecordCount(ds); this.rptDataList.DataSource = ds; this.rptDataList.DataBind(); } }
protected void BindDataList() { Q_LabelBatch labelBatch_model = new Q_LabelBatch(); DataSet ds = labelBatch_model.GetDataList(this.AspNetPager1.CurrentPageIndex, "CreateTime", "desc"); if (ds != null) { this.AspNetPager1.RecordCount = PagerInfo.GetRecordCount(ds); this.rptDataList.DataSource = ds; this.rptDataList.DataBind(); } }
protected void BindDataList() { Model.Pay.PO_MainTicket mainTicket_model = new Model.Pay.PO_MainTicket(); DataSet ds = mainTicket_model.GetPageList(this.AspNetPager1.CurrentPageIndex, string.Empty, Model.OrderType.desc); if (ds != null) { this.AspNetPager1.RecordCount = PagerInfo.GetRecordCount(ds); this.rptDataList.DataSource = ds; this.rptDataList.DataBind(); } }