Click or drag to resize

Utils_LinqListToDataTableT Method

Converts a list of objects to a DataTable using T properties as columns.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static DataTable ListToDataTable<T>(
	List<T> list
)

Parameters

list
Type: System.Collections.GenericListT

Type Parameters

T

Return Value

Type: DataTable
See Also