IFileHelperEngineTReadStringAsDT Method (String, Int32) |
Read the records of a string and fill a DataTable with them.
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
SyntaxDataTable ReadStringAsDT(
string source,
int maxRecords
)
Function ReadStringAsDT (
source As String,
maxRecords As Integer
) As DataTable
Parameters
- source
- Type: SystemString
The source string with the records. - maxRecords
- Type: SystemInt32
The max number of records to read. Int32.MaxValue or -1 to read all records.
Return Value
Type:
DataTableThe DataTable with the read records.
See Also