DataTableExtension Class

Extension methods for the DataTable class.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public static class DataTableExtension
Inheritance
Object    DataTableExtension

Methods

ReadCsv(DataTable, CsvReader, CsvMapping) Adds CSV content as DataRows to the DataTable.
ReadCsv(DataTable, String, CsvMapping, Char, Encoding, Boolean, CsvOpts) Adds the content of a CSV file as DataRows to the DataTable.
ReadCsvAnalyzed Adds the content of a CSV file as DataRows to the DataTable after the file had been analyzed.
WriteCsv(DataTable, CsvWriter, CsvMapping) Writes the content of the DataTable as CSV.
WriteCsv(DataTable, String, CsvMapping, Char, Encoding, IEnumerableString) Saves the content of a DataTable as a CSV file with header.

See Also