Datatable : partial copy and columns reordering ?

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
 
J

jmd.msdn

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top