Read the records of the file and fill a DataTable with them
[Visual Basic]
Overloads Public Function ReadFileAsDT( _
ByVal
fileName As
String, _
ByVal
maxRecords As
Integer _
) As
DataTable
Parameters
-
fileName
- The file name.
-
maxRecords
- The max number of records to read. Int32.MaxValue or -1 to read all records.
Return Value
The DataTable with the read records.
See Also
FileHelperEngine Class | FileHelpers Namespace | FileHelperEngine.ReadFileAsDT Overload List
Powered by: