activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Feb 19, 2026

RemoveDuplicateRows

Removes the duplicate rows from a specified DataTable variable, keeping only the first occurrence.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

RemoveDuplicateRows(DataTable)

DataTable RemoveDuplicateRows(
    DataTable dataTable
)
DataTable RemoveDuplicateRows(
    DataTable dataTable
)

dataTable DataTable : The DataTable to remove duplicate rows.

Return value

The output DataTable with the distinct rows.

  • Definition
  • RemoveDuplicateRows(DataTable)
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.