oledbdatareader
C#
3
Posts
2
Posters
0
Views
1
Watching
-
hi, i have got 1000 records in access table and i want to read alternate data. ie 500 records out of 1000. how to advance the reader to next record?
-
hi, i have got 1000 records in access table and i want to read alternate data. ie 500 records out of 1000. how to advance the reader to next record?
-
You need to implement your own logic in a loop. Your logic could simply be something like
While reader.Read(){ intCounter++; if (intCounter % 2 == 0){ Console.WriteLine(reader(0).ToString()) } } End While
THANKS IT WORKS