Add new column at first place

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I use the code below to add a new column into the Columns collection of a
DataTable
The New Column always at the last position.
I want the new column as the first position.
How can I do that?
 
In V2.0 after adding the DataColumn to the collection you can call
SetOrdinal to move it.
 
Back
Top