Friday 15 May 2015

c# - Select 50 to 100 rows from datatable -



c# - Select 50 to 100 rows from datatable -

this question has reply here:

how sec record in linq sql 8 answers

i need select rows 50 100 datatable. have tried first 50 rows using code:

dt.rows.cast<system.data.datarow>().take(50)

now need rows 50 100 datatable. how do this?

use skip method

dt.rows.cast<system.data.datarow>().skip(50).take(50)

c# linq datatable

No comments:

Post a Comment