CSV - Using Data line as Headers

Jul 13, 2010 at 5:19 PM

Was trying to use a non , delimeter with a file that does not have a header. The non comma delimeter is working however it is using the first row in the file as a header row instead of a data row.

See code:
                        string filecontents = File.ReadAllText(filepath + files[f]);
                        string delimeter = "|";
                        CsvDoc csv = Csv.LoadText(filecontents,false,false,delimeter);

 Sorry if I am overlooking something.

Jul 14, 2010 at 8:27 PM

Hey, thanks for the notification. I'll take a look at it, and fix it.

Aug 17, 2010 at 9:51 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Aug 20, 2010 at 6:48 AM

This has been fixed in the latest source code and will be part of the next release.


Thx for posting.