Insert a Column into a specific position in DataTable

Hi @naotosx,

I have specified the position of the column using the method setOrdinal in the invoke method activity:

The DataColumn.SetOrdinal(Int32) method changes the ordinal or position of the DataColumn to the specified ordinal or position.

When you change a column’s ordinal, the column is moved to the new position in the collection of columns. Any columns between the previous and new ordinal will be renumbered, to adjust for a column’s new ordinal.

Best Regards,
Susana

25 Likes