Object value - TypeConverter cannot convert from System.String

I have a problem with a field of type object. For example: public class MyClass { [CsvColumn(FieldIndex = 1)] public long Id { get; set; } [CsvColumn(FieldIndex = 2)] __public object Value...

Id #1168 | Release: None | Updated: May 6, 2013 at 1:27 PM by tryhp3 | Created: May 6, 2013 at 1:27 PM by tryhp3

read file that is opened in Excel

If CSV file is opened in Excel then CsvContext.Read is not able to read the file content. Possible fix is replace the code (CsvContext.cs, line 113): stream = new StreamReader( fileName, fileDescri...

Id #1161 | Release: None | Updated: Apr 11, 2013 at 5:20 AM by dvpublic | Created: Apr 11, 2013 at 5:20 AM by dvpublic

got exception when row has more than needed columns

i have a class that read the 1st and 2nd column from the csv file. tested this with having a file with 1 row has more than 2 columns and get an exception. should it just read the next line once it ...

Id #1087 | Release: None | Updated: Feb 14, 2013 at 2:16 AM by RomeoQNgo | Created: Nov 1, 2012 at 2:38 PM by RomeoQNgo

Problem with IDataRow reference equality and immediately executed operators

Simple repro:   // 100 records in csv file List<DataRow> records = context.Read<DataRow>(A_CAR_RECORDS_FILE).ToList();     HashSet<Data...

Id #1066 | Release: None | Updated: Feb 14, 2013 at 2:16 AM by renestein | Created: Sep 27, 2012 at 4:07 PM by renestein

FirstLineWithColumnNames requires all columns to be present in POCO

It should be possible, perhaps with an additional parameter in CsvFileDescription, to ask LinqToCsv to ignore unmapped columns.   Right now, it throws NameNotInTypeException, with no means of avoid...

Id #1053 | Release: None | Updated: Dec 6, 2013 at 5:58 PM by epalm | Created: Sep 13, 2012 at 11:12 PM by orospakr

Sign dll in NuGet package

Can you please sign dll you release? Otherwise I have to download code and recompile it just to sign.   Thank you.

Id #936 | Release: None | Updated: May 15, 2013 at 8:24 AM by Stops | Created: May 11, 2012 at 9:48 PM by Ornus

  • 1-6 of 6 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items