在C#中拆分数据集记录 [英] Split dataset records in C#
本文介绍了在C#中拆分数据集记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含多个记录的数据集.我想分割1000,1000,1000 ..像分区
在C#中.你能帮助任何一个人吗?
谢谢.
Hi,
I have one dataset with multiple records. i want to split 1000,1000,1000.. like partitions
in c#. can you please help any one
thanks.
推荐答案
一种解决方案是混合 [ ^ ]与跳过 [ http://stackoverflow.com/questions/2375379/paging-ienumerable-dataset [ ^ ]
希望对您有所帮助.
One solution is blending Take[^] with Skip[^] to have a paging functionality.
Here is an example :
http://stackoverflow.com/questions/2375379/paging-ienumerable-dataset[^]
Hope it helps.
这篇关于在C#中拆分数据集记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文