Datatable -filter records with linq based on some internal index
Posted
by
Karan
on Stack Overflow
See other posts from Stack Overflow
or by Karan
Published on 2011-02-18T07:20:51Z
Indexed on
2011/02/18
7:25 UTC
Read the original article
Hit count: 186
LINQ
Hello Guys,
I have a datatable with plenty of records. And i have a range like lowerRange = 10 and upperRange = 200. I want the pull the records starting at row 10 till row 200.
Now i don't want to add any new index based column into the datatable. Is there any way with the help of linq, i can pull the set of rows based on some internal datatable index? I guess, the datatable must be maintaining some row index implicitly.
Please suggest.
© Stack Overflow or respective owner