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

Workflow activities

Last updated Feb 19, 2026

RemoveDataColumn

Removes a DataColumn from a specified DataTable.

Definition

Namespace: UiPath.Activities.System.API

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

RemoveDataColumn(DataTable, String)

void RemoveDataColumn(
    ref DataTable dataTable,
    string columnName
)
void RemoveDataColumn(
    ref DataTable dataTable,
    string columnName
)

dataTable DataTable : The DataTable object from which the column is to be removed.

columnNameString : The name of the column to be removed from the column collection of the DataTable. If this property is set then the ColumnIndex property is ignored.

  • Definition
  • RemoveDataColumn(DataTable, String)

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.