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

CommonEngine.RecordsToDataTable Method (ICollection)

Converts any collection of records to a DataTebla using reflection. WARNING: this methods returns null if the number of records is 0, pass the Type of the records to get an empty DataTable.

[Visual Basic]
Overloads Public Shared Function RecordsToDataTable( _
   ByVal records As ICollection _
) As DataTable
[C#]
public static DataTable RecordsToDataTable(
   ICollection records
);

Parameters

records
The records to be converted to a DataTable

Return Value

The datatable containing the records as DataRows

See Also

CommonEngine Class | FileHelpers Namespace | CommonEngine.RecordsToDataTable 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