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: 8.2.23
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