 | ConversionListToDataTableT Method |
Convert a list of objects into DataTable object
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static DataTable ListToDataTable<T>(
List<T> items
)
Public Shared Function ListToDataTable(Of T) (
items As List(Of T)
) As DataTable
Parameters
- items
- Type: System.Collections.GenericListT
List of objects to convert
Type Parameters
- T
- List's object type
Return Value
Type:
DataTableConverted DataTable object
See Also