Click or drag to resize

RowCommandsCopyRowToDataColumn Method

Copies a specified row of the DataColumnCollection into another column.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void CopyRowToDataColumn(
	this DataColumnCollection table,
	int rowIdx,
	IAscendingIntegerCollection selectedDataColumns,
	DataColumn destinationColumn
)

Parameters

table  DataColumnCollection
Table to copy from.
rowIdx  Int32
Index of the data row to copy.
selectedDataColumns  IAscendingIntegerCollection
Columns to copy from. Can be null.
destinationColumn  DataColumn
DataColumn to copy the data to.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataColumnCollection. 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