  | DataFrameAddColumn(DataColumn, DataRowCollection) Method | 
            Adds the given DataColumn and accompanying data to this data frame.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DataFrame AddColumn(
	DataColumn column,
	DataRowCollection rows
)
Public Function AddColumn ( 
	column As DataColumn,
	rows As DataRowCollection
) As DataFrame
public:
DataFrame^ AddColumn(
	DataColumn^ column, 
	DataRowCollection^ rows
)
member AddColumn : 
        column : DataColumn * 
        rows : DataRowCollection -> DataFrame Parameters
- column  DataColumn
 - A DataColumn.
 - rows  DataRowCollection
 - A DataRowCollection containing data for this column.
 
Return Value
DataFrameThis data frame.
Exceptions| Exception | Condition | 
|---|
| InvalidArgumentException | Thrown 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