Create a DataTable from a collection that implements ICollection.

Enum properties will be converted to Integers and a corresponding column with a suffix of 'Text' will be created.

Syntax

ISDatabaseBL.CreateDataTableFromCollection(sourceCollection, dataTable, [columns])

Parameters

NameTypeOptionalByRefDescription
sourceCollection Object The ICollection object.
dataTable DataTable ByRef The DataTable containing the collection details.
columns String Optional A comma-separated list of Columns to include or a blank String to include all Columns.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISDatabaseBL
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0