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

Workflow activities

Last updated Mar 13, 2026

ClearDataTable

Clears all the data in the specified DataTable.

Definition

Namespace: UiPath.Activities.System.API

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

ClearDataTable(DataTable)

void ClearDataTable(
    ref DataTable dataTable
)
void ClearDataTable(
    ref DataTable dataTable
)

dataTable DataTable : The DataTable object to be cleared of all data.

  • Definition
  • ClearDataTable(DataTable)

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated