Missing Rows / Errors Messages #2055
markalanevans
started this conversation in
General
Replies: 1 comment
-
A field may contain a line endings. For this example void Main()
{
var s = new StringBuilder();
s.Append("Id,Name\r\n");
s.Append("1,\"one\r\n\r\n\r\n\r\ntwo\"\r\n");
var config = new CsvConfiguration(CultureInfo.InvariantCulture)
{
};
using (var reader = new StringReader(s.ToString()))
using (var csv = new CsvParser(reader, config))
{
while (csv.Read())
{
csv.RawRecord.Dump();
}
csv.Row.Dump();
csv.RawRow.Dump();
}
} You can see that there are |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, what happens during GetRecords call?
The file i have get's loaded, but the # of rows in the file is always more than what is returned and i'm wondering why. How can i capture this?
Beta Was this translation helpful? Give feedback.
All reactions