QuestionQ274

VerifiedData Manipulation

Which method can be used to change the index of an existing column in a DataTable?

Explanation

DataColumn.SetOrdinal(Int32) changes a column’s ordinal position in its DataTable column collection. Microsoft Learn: DataColumn.SetOrdinal(Int32)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!