Beispiel #1
0
        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();
            }
        }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
        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();
            }
        }