Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在处理 jqGrid 分页,当我在单独的应用程序中工作时它工作得很好。我将其移至现有项目并不断收到此错误。
如果我尝试添加对 System.Data.DataSetExtensions 的引用,它会说它不包含任何公共成员或找不到。
这在我的项目中对我有用,其中表是一个数据表,并且这段代码构建得很好。
table.AsEnumerable().Skip(5).Take(5)
您是否由于某种原因缺少任何必要的导入语句和 DLL 引用?dtWORData 直接是一个 DataTable 对象,对吗?似乎是的,因为您的弹出窗口列出了 EnumerableRowCollection,当我在 Visual Studio 中将鼠标悬停在它上面时,我的示例也显示了它。