Click or drag to resize

CommonEngineCsvToDataTable Method (String, CsvOptions)

Reads a Csv File and return their contents as DataTable

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public static DataTable CsvToDataTable(
	string filename,
	CsvOptions options
)

Parameters

filename
Type: SystemString
The file to read.
options
Type: FileHelpers.OptionsCsvOptions
The options used to create the record mapping class.

Return Value

Type: DataTable
The contents of the file as a DataTable
See Also