SQLDataAdapter Fill with startRecord parameter - 03-22-2010 , 03:29 AM
I can't unserstand how startRecord works; i think there is a problem.
I'm using maxrecord=5.
If i put zero 0, the dataset is filled with all values in table
(rows.count is = @@rowcount)
If i put 1 the dataset is filled only with 5 values, but row is not
the first one in the table, is the second!
If i put 2 the dataset is filled only with 5 values, but row is not
the first one in the table, is the third!
.... and so on.
So MSDN says that startRecord is 0-based index... that seems to be
true but in this way we lost our first record !!
|Thread Tools||Search this Thread|