Partilhar via


ResultSet.next Method

Definition

Selects the first or subsequent row.

public:
 virtual bool next();
public virtual bool next ();
abstract member next : unit -> bool
override this.next : unit -> bool
Public Overridable Function next () As Boolean

Returns

true if the new current row is valid; otherwise false.

Remarks

A ResultSet is initially positioned before its first row. The first call to the next method makes the first row the current row. The second call makes the second row the current row, and so on.

Applies to