能不能这样使用pagedDataSource
PagedDataSource pds = new PagedDataSource();
pds.DataSource = realty.BLL.NewsLyManager.getnewsbynid(id);
pds.AllowPaging = true;
pds.PageSize = 3;
pds.CurrentPageIndex = Pager;
setEnable(pds);
string ht = "";
IList<NewsLy> list = (List<NewsLy>)pds;