//加载分页
    public PagedDataSource Loading()
    {
        PagedDataSource pds = new PagedDataSource();
        pds.DataSource = Cx_Product_BigclassManager.GetBigclass();//设置数据源
        pds.AllowPaging = true;//允许分页
        pds.PageSize = 5;//一页显示10条信息
        if (Request.QueryString["page"] != null)//判断页面传值是否为空
        {
            pds.CurrentPageIndex = Int32.Parse(Request.QueryString["page"].ToString()) - 1;
        }
        else
        {
            pds.CurrentPageIndex = 0;
        }
        return pds;
    }
说明:上面红色不部分返回的是datatable类型
报的错误:错误89无法将类型“System.Data.DataTable”隐式转换为“System.Collections.IEnumerable”。存在一个显式转换(是否缺少强制转换?)