DataHelperConvertToDataTableT Method |
Method to convert LINQ result to DataTable
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
DataTableSee Also