EnumerableExtensionToDataTable Method |
Name | Description | |
---|---|---|
ToDataTableT(IEnumerableT, CultureInfo) |
Creates a DataTable from an IEnumerable{T}.
Each element of the given source results in a row representing the properties of {T} as columns.
If conversion is needed, the default converter is used.
ToString is used for types which are not valid for a DataColumn of a DataTable.
| |
ToDataTableT(IEnumerableT, IncompatibleDataColumnTypeHandling, CultureInfo) |
Creates a DataTable from an IEnumerable{T}.
Each element of the given source results in a row representing the properties of {T} as columns.
If conversion is needed, the default converter is used.
|