Click or drag to resize

DataFrameAddColumn(DataColumn, DataRowCollection) Method

Adds the given DataColumn and accompanying data to this data frame.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DataFrame AddColumn(
	DataColumn column,
	DataRowCollection rows
)

Parameters

column  DataColumn
A DataColumn.
rows  DataRowCollection
A DataRowCollection containing data for this column.

Return Value

DataFrame
This data frame.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of columns in the DataRowCollection is not equal to one, or if the DataRowCollection does not contain the same number of rows as this data fra.
See Also