Click or drag to resize
DataHelperConvertToDataTableT Method
Method to convert LINQ result to DataTable

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static DataTable ConvertToDataTable<T>(
	IEnumerable<T> varlist
)

Parameters

varlist
Type: System.Collections.GenericIEnumerableT
Variable list

Type Parameters

T
Type to convert

Return Value

Type: DataTable
See Also