ComponentOne DataObjects for .NET
MovePrevious Method

C1.Data.2 Assembly > C1.Data Namespace > BaseDataTableSource Class : MovePrevious Method
Moves to the previous row.
Syntax
'Declaration
 
Public Function MovePrevious() As System.Boolean
public System.bool MovePrevious()
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 first 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 decremented 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