Hello,
I have data table with 1000 rows, I want to select 100 rows them in each loop.
for e.g.
1
2
...
100
-------
next loop
101
102
..
200
-----
etc
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Farhan ShariffPosted Jun 16, 2014, 4:48 AM
{
int value = datatable.Rows[i]["column name"];
}
for( int i=100; i < 200 ; i++)
{
int value = datatable.Rows[i]["column name"];
}
Farhan ShariffPosted Jun 16, 2014, 4:35 AM