專題文章
時(shí)長(zhǎng):00:00更新時(shí)間:2020-11-27 22:41:22
asp.net中使用repeater和PageDataSource搭配實(shí)現(xiàn)分頁(yè)代碼: 代碼如下: PagedDataSource objPage = new PagedDataSource(); DataView dv = bllBook.GetListByState(, true); //設(shè)置數(shù)據(jù)源 objPage.DataSource =dv ; //允許分頁(yè) objPage.AllowPaging = true;
查看詳情