ComponentOne DataObjects for .NET
MoveNext Method

C1.Data.2 Assembly > C1.Data Namespace > BaseDataTableSource Class : MoveNext Method
Moves to the next row.
Syntax
'Declaration
 
Public Function MoveNext() As System.Boolean
public System.bool MoveNext()
Remarks
Use this method to navigate the underlying rowset in virtual mode. Although this method is applicable in all modes, it is only necessary in virtual mode. In virtual mode, the underlying DataTable contains only a segment of available data. To navigate the whole rowset, you need to use methods MoveFirst, MoveLast, MoveNext, MovePrevious, Seek.

If the current row is not the last row in the underlying data table, this method moves to the next row and returns True; otherwise, it returns False. After this method, the Position property is incremented by 1 and the CurrentRow returns the next row.

See Also

Reference

BaseDataTableSource Class
BaseDataTableSource Members
C1DataTableSource Class
C1ExpressTable Class
Virtual Mode - Dealing with Large Datasets