Friday, 23 August 2013

Copy specific columns from one DataTable to another

Copy specific columns from one DataTable to another

Have some read in data (from excel file) in a DataTable and now I want to
filter this and copy only specific columns to the other one!
dataTable format:
some data
ColA|ColB|ColC
xxxx|xxxx|xxxx
some data
some data represents other table data not related to ColA-ColC
How can I copy ColA-ColC with xxxx to the new DataTable?
Thx

No comments:

Post a Comment