DataExtensions.ToDataTable(IDataFrame, String) Method

Constructs a data table from a data frame.

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public static DataTable ToDataTable(
	this IDataFrame dataFrame,
	string keyColumn
)

Parameters

dataFrame  IDataFrame
The data frame to convert.
keyColumn  String
The name of the column that contains the row index values.

Return Value

DataTable
A data table containing the columns in dataFrame, using keyColumn as the name for the column that contains the row index of the data frame.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDataFrame. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also