Data Extensions.To Data Table<C>(IData Frame, IEnumerable<C>) Method
Constructs a data table from the specified columns a data frame.
Definition
Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
A data table containing the columns in columnKeys in dataFrame.
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
public static DataTable ToDataTable<C>(
this IDataFrame dataFrame,
IEnumerable<C> columnKeys
)
Parameters
- dataFrame IDataFrame
- The data frame to convert.
- columnKeys IEnumerable<C>
- A sequence of column keys.
Type Parameters
- C
- The type of the column keys of the data frame.
Return Value
DataTableA data table containing the columns in columnKeys in dataFrame.