SetNextRow Method

Description

Sets the row after the current (active) row as the new current row in the design-time or run-time data table.

Note: You can only set a row that contains at least one value. If the current row is the last row in the data table, applying this method sets the first row in the data table as the new current row.

Syntax

DataTable.SetNextRow

Example

The following example uses the SetNextRow method to change the active row to the next row in the design-time or run-time data table.

DataTable.SetNextRow