Click or drag to resize

CommonEngineReadFileAsDT Method (Type, String)

Used to read a file as a DataTable without instantiating the engine.
This method has limited features. We recommend using the non static methods.

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public static DataTable ReadFileAsDT(
	Type recordClass,
	string fileName
)

Parameters

recordClass
Type: SystemType
The record class.
fileName
Type: SystemString
The file name

Return Value

Type: DataTable
The DataTable representing all the read records.
See Also