Click or drag to resize

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
)

Parameters

data
Type: System.Collections.GenericIListT
list of T

Type Parameters

T
type of data item

Return Value

Type: DataTable
a data table object with list data item
Remarks
Using System.Data
See Also