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

Workflow activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated