Reads a Csv File and return their contents as DataTable (The file must have the field names in the first row)
[Visual Basic]
Overloads Public Shared Function CsvToDataTable( _
ByVal
filename As
String, _
ByVal
delimiter As
Char _
) As
DataTable
Parameters
-
filename
- The file to read.
-
delimiter
- The delimiter for each field
Return Value
The contents of the file as a DataTable
See Also
CommonEngine Class | FileHelpers Namespace | CommonEngine.CsvToDataTable Overload List
Powered by: