string UserId = Session["currentUser"].ToString();
        PagedDataSource pdsRecycleInfo = new PagedDataSource();
        //对PagedDataSource对象的相关属性赋值
        pdsRecycleInfo.DataSource = FileDAL.GetRecycleInfo(UserId);
        //设置允许分页
        pdsRecycleInfo.AllowPaging = true;
        //设置页大小
        pdsRecycleInfo.PageSize = 5;
        pdsRecycleInfo.CurrentPageIndex = Pager;
        lblcurrentpage.Text = Convert.ToString(pdsRecycleInfo.CurrentPageIndex + 1);
        lblpagecount.Text = Convert.ToString(pdsRecycleInfo.PageCount);这事偶的部分代码.. 运行时在最后一行报了"无法计算未实现 ICollection 的数据源中的计数。" 这个异常..
不知道是什么问题啊.. 也是找了好久都没找到答案,以前也没遇见过..
所以来请各位帮帮忙.. 谢了 !!!!!!