DataCopyRowID Method
Copies a row of data using a new ID (negative ID) for the new row.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static DataRow CopyRowID(
DataRow sourceRow,
DataTable destinationTable,
string fieldID = "Id"
)
Public Shared Function CopyRowID (
sourceRow As DataRow,
destinationTable As DataTable,
Optional fieldID As String = "Id"
) As DataRow
- sourceRow DataRow
- Data row used to copy the information.
- destinationTable DataTable
- Destination table of the new copied row.
- fieldID String (Optional)
- Identifier field name.
DataRowDataRow with the new duplicate data row (datarow) with a non-existing negative identifier.