Click or drag to resize

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
Syntax
DataTable ReadStringAsDT(
	string source,
	int maxRecords
)

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: DataTable
The DataTable with the read records.
See Also