We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'm brad new to this lib, but I'm getting the following error:
ChoETL.ChoMissingCSVColumnException: "Missing 'Id' CSV column in CSV file."
This is how my test.txt looks like:
"Id","Name" "1","Tom" "2","Carl" "3","Mark"
My Poco
public partial class Account { public string Id { get; set; } public string Name { get; set; } }
foreach (var rec in new ChoCSVReader<Account>(rootDir + @"\test.txt").WithFirstLineHeader().QuoteAllFields()) { Debug.WriteLine("name:" + rec.Name); }
And also the Console doesn't show up the Name
Questions:
The text was updated successfully, but these errors were encountered:
As CSV comes with quoted field values, pls set MayHaveQuotedFields to the parser to handle it.
MayHaveQuotedFields
Here is sample fiddle: https://dotnetfiddle.net/cgX2Ld
Sorry, something went wrong.
Same problem: https://we.tl/t-Rkp9UZ1Zo9
No branches or pull requests
Hello,
I'm brad new to this lib, but I'm getting the following error:
This is how my test.txt looks like:
My Poco
And also the Console doesn't show up the Name
Questions:
The text was updated successfully, but these errors were encountered: