Class EnumerableExtensions
Provides extensions to IEnumerable.
Inheritance
System.Object
EnumerableExtensions
Namespace: DotNetNuke.Collections
Assembly: DotNetNuke.dll
Syntax
public static class EnumerableExtensions : object
Methods
| Improve this Doc View SourceToDataTable(IEnumerable<Object>)
Converts dynamic data to a DataTable. Useful for databinding.
Declaration
public static DataTable ToDataTable(this IEnumerable<dynamic> items)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System.Object> | items | The items in the IEnumerable. |
Returns
Type | Description |
---|---|
DataTable | A DataTable with the copied dynamic data. |