示例#1
0
 //设置分页控件的总记录方法
 private void SetAspNetPagerRecordCountByPro()
 {
     this.AspNetPagerByProducts.RecordCount = ProductsDAL.SelectProductByConditionRowsCount(dwlProductCategory.SelectedItem.Value,
                                                                                            this.AspNetPagerByProducts.PageSize, this.AspNetPagerByProducts.CurrentPageIndex);
 }