Removes rows from the datatable, starting from the startIndex.

Syntax

Smartsite SXML CopyCode image Copy Code
integer datatable.rows.removerange(datatable dataTable, integer startIndex)
integer datatable.rows.removerange(datatable dataTable, integer startIndex, integer count)

Parameters

Name Data Type Description
dataTable DataTable The datatable from which rows are removed.
startIndex Integer The start index.
count Integer The number of rows to remove.

Return Value

Data Type Description
Integer The number of rows removed.

Expand image Remarks

Expand image Example

SXML