ExcelHelperLoadDataTableFromCSV Method |
Load a DataTable from a CSV file. If no separator is specified, ',' or ';' is detected from the first line. If noHeader is true, column names are automatic.
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
Syntaxpublic static DataTable LoadDataTableFromCSV(
string csvPath,
char? separator,
Encoding encoding,
bool noHeader = false
)
Parameters
- csvPath String
-
- separator NullableChar
-
- encoding Encoding
-
- noHeader Boolean (Optional)
-
Return Value
DataTable
See Also