//分页事件 protected void AspNetPager1_PageChanged(object sender, EventArgs e) { this.AspNetPager1.RecordCount = BrowseBLL.ByClassID(); this.RP_details.DataSource = BrowseBLL.SelectProductByPaging(AspNetPager1.PageSize, this.AspNetPager1.CurrentPageIndex - 1); this.RP_details.DataBind(); }