CsvReader ReadFile Method CleanCode C# Libraries v1.2.03 API
Reads a CSV file into a OnlineDataTable.

Namespace: CleanCode.CsvProcessing
Assembly: CleanCode.CsvProcessing (in CleanCode.CsvProcessing.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public DataTable ReadFile(
	string filePath
)

Return Value

CSV contents stored as a DataTable.
Remarks

The first record must be column headers. They may either be names only or names and types in the form name:type (e.g. "Id:System.Int32"). If types are not provided the DataTable will set all columns to System.String.
See Also