HighTechTalks DotNet Forums  

SQLDataAdapter Fill with startRecord parameter

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss SQLDataAdapter Fill with startRecord parameter in the Dotnet Framework (ADO.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
merco
 
Posts: n/a

Default SQLDataAdapter Fill with startRecord parameter - 03-22-2010 , 03:29 AM






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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.