Removes duplicate rows from the datatable.

Syntax

Smartsite SXML CopyCode image Copy Code
datatable.rows.removeduplicates(datatable dataTable, integer columnIndex)
datatable.rows.removeduplicates(datatable dataTable, string columnName)

Parameters

Name Data Type Description
dataTable DataTable The datatable whose duplicate rows will be removed.
columnIndex Integer The column that will be searched for duplicates.
columnName String The column that will be searched for duplicates.

Return Value

None.

Expand image Example

SXML