PagedDataSource AllowPaging后报“枚举已完成”错误
--------------------编程问答-------------------- 有没有人啊,很着急啊
VendorVideos videos = VendorVideos.GetVideosByVendorId(_vendorId);
PagedDataSource pd = new PagedDataSource();
pd.DataSource = videos;
pd.AllowPaging = true;
pd.CurrentPageIndex = _pageId - 1;
pd.PageSize = Config.PagerPageSize;
this.rptVideos.DataSource = pd;
this.rptVideos.DataBind();
--------------------编程问答-------------------- 你设个具体的值不行
补充:.NET技术 , ASP.NET