Click or drag to resize

DataTableCopyDataAndPropertyColumnsFrom(DataTable, Boolean, Boolean) Method

Deletes all data and property columns in the table, and then copy all data and property columns, from the source table. As you can specify, this can be done with or without the data.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void CopyDataAndPropertyColumnsFrom(
	DataTable src,
	bool copyDataColumnData,
	bool copyPropertyColumnData
)

Parameters

src  DataTable
The source table to copy the data columns from.
copyDataColumnData  Boolean
If true, the data from the data columns of the source table is also copied.
copyPropertyColumnData  Boolean
If true, the data from the property columns of the source table is also copied.
See Also