Click or drag to resize
ConversionListToDataTableT Method
Convert a list of objects into DataTable object

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static DataTable ListToDataTable<T>(
	List<T> items
)

Parameters

items
Type: System.Collections.GenericListT
List of objects to convert

Type Parameters

T
List's object type

Return Value

Type: DataTable
Converted DataTable object
See Also