Exemple #1
0
        public void BindData(Int32 pageSize, Int32 pageIndex)
        {
            int rowCount = 0;

            QJVRMS.Business.FeatureFactory featureFactory = new QJVRMS.Business.FeatureFactory();

            DataTable dt = featureFactory.ShowFeatureImages(featureId, 0, pageSize, pageIndex, ref rowCount);

            this.lb_ResultCount.Text = "共检索到 <strong>" + rowCount.ToString() + "</strong> 条数据";

            this.AspNetPager1.RecordCount = rowCount;

            this.DataResource1.DataSource = dt;
            this.DataResource1.DataBind();
        }