Datatable : partial copy and columns reordering ?

  • Thread starter Thread starter jmd.msdn
  • Start date Start date
J

jmd.msdn

Hello.
I am writing a program that :
1. create a DataTable
2. reads a .csv text file (not created by me) and fills that DataTable
3. from that DataTable, must suppress some columns and must reorder
some others

Question : as I do not see how to do the third point above (rearranging a
DataTable), can someone gives me some advices ?

Thank you in advance.
jean-marie
 
Oh..
I did not see DataView.ToTable(..) => I will have a look at it
But I finally found DataTable.Merge(..) which is exactly what I want.
Thank you

jean-marie
 
Back
Top