FileHelperEngineTReadStringAsDT Method (String, Int32) |
Note: This API is now obsolete.
Read the records of a string and fill a DataTable with them.
Namespace:
FileHelpers
Assembly:
FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax[ObsoleteAttribute("You must use ReadString(...).ToDataTable<T>() instead.")]
public DataTable ReadStringAsDT(
string source,
int maxRecords
)
<ObsoleteAttribute("You must use ReadString(...).ToDataTable<T>() instead.")>
Public 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.
Implements
IFileHelperEngineTReadStringAsDT(String, Int32)
See Also