DataCopyRowID Method

Copies a row of data using a new ID (negative ID) for the new row.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static DataRow CopyRowID(
	DataRow sourceRow,
	DataTable destinationTable,
	string fieldID = "Id"
)

Parameters

sourceRow  DataRow
Data row used to copy the information.
destinationTable  DataTable
Destination table of the new copied row.
fieldID  String  (Optional)
Identifier field name.

Return Value

DataRow
DataRow with the new duplicate data row (datarow) with a non-existing negative identifier.

See Also