Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

CommonEngine.ReadFileAsDT Method (Type, String, Int32)

Used to read a file as a DataTable without instanciate the engine.
This is feature limited method try to use the non static methods.

[Visual Basic]
Overloads Public Shared Function ReadFileAsDT( _
   ByVal recordClass As Type, _
   ByVal fileName As String, _
   ByVal maxRecords As Integer _
) As DataTable
[C#]
public static DataTable ReadFileAsDT(
   Type recordClass,
   string fileName,
   int maxRecords
);

Parameters

recordClass
The record class.
fileName
The file name
maxRecords
The max number of records to read. Int32.MaxValue or -1 to read all records.

Return Value

The datatable representing all the read records.

See Also

CommonEngine Class | FileHelpers Namespace | CommonEngine.ReadFileAsDT Overload List


Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox