Read the records of the stream and fill a DataTable with them
[Visual Basic]
Overloads Public Function ReadStreamAsDT( _
ByVal
reader As
TextReader, _
ByVal
maxRecords As
Integer _
) As
DataTable
Parameters
-
reader
- The stream with the source records.
-
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.ReadStreamAsDT Overload List
Powered by: