Top "Csvhelper" questions

The CsvHelper library is a .NET library that allows for easy reading and writing of comma-separated values (CSV) files.

How to write only selected class fields into CSV with CsvHelper?

I use CsvHelper to read and write CSV files and it is great, yet I don't understand how to write …

c# .net csv csvhelper
In CsvHelper how to catch a conversion error and know what field and what row it happened in?

I am using the class CsvReader successfully and am happy with it, however, the file that I consume is being …

csvhelper
how to use csvHelper to read the second line in a csv file

I have a csv file with two lines, the first one is the header line, which includes 36 columns separated by , …

c# csv csvhelper
Parse CSV where headers contain spaces with CsvHelper

I have a CSV file with field headers and some of them contain two or three words separated by spaces: …

c# csv csvhelper
How to add CsvHelper records to DataTable to use for SqlBulkCopy to the database

I am trying to read a CSV file with CsvHelper, load each record into a DataTable, and then use SqlBulkCopy …

.net csv datatable sqlbulkcopy csvhelper
CsvHelper - read in multiple columns to a single list

I'm using CSVHelper to read in lots of data I'm wondering if it's possible to read the last n columns …

c# csvhelper
Custom conversions when writing CSV files using CsvHelper

I've been doing some CSV reading and writing lately, and ran across CsvHelper which is fantastic so far. I've ran …

c# .net csvhelper
Dynamic creation of columns using csvHelper

I have a worker with various fields that are fetched from server. I am using CSVHelper package to convert this …

c# xamarin xamarin.forms export-to-csv csvhelper
Handling bad CSV records in CsvHelper

I would like to be able to iterate through all records in a CSV file and add all the good …

c# csv csvhelper
Using CSVHelper on file upload

I am trying to use the CSVhelper plugin to read an uploaded CSV file. Here is my modelBinder class: public …

c# asp.net-mvc-3 csv csvhelper