ConvertListToDataTableT Method | |
Convert a list to a data table object
Namespace:
SOWIData.Helper
Assembly:
SOWIData.Helper (in SOWIData.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static DataTable ListToDataTable<T>(
IList<T> data
)
Public Shared Function ListToDataTable(Of T) (
data As IList(Of T)
) As DataTable
Parameters
- data
- Type: System.Collections.GenericIListT
list of T
Type Parameters
- T
- type of data item
Return Value
Type:
DataTablea data table object with list data item
Remarks Using System.Data
See Also