mardi 3 mars 2015

how to merge the 2 rows or 2 line of csv file in single row and add heading and data in Datagridview in C# window application using csvReader

In my C# window application have 1 csv file that contain two row header name. csv file heading is student class but it divide like 1st row of 1st column name contain student 2nd row of 1st column name contain class.


And i want to merge that two rows of two column value in one column of one row i.e. student class in 1st row of 1st column for heading. means :



1st row=> heading1,heading2,heading3
2nd row=> heading1,heading2,heading3.


accepted result in 1st row =>heading1heading1,heading2heading2,heading3heading3.


also i want do this using LumenWorks.Framework.IO.CSV library file. I didn't understand how to do this in C#.


Please help me with demo example.


Aucun commentaire:

Enregistrer un commentaire