SQLDataAdapter Fill with startRecord parameter

M

merco

Hi.
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 !!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top