Add a row to a datatable. If the row is owned by an other table, the row is imported in the destination.

Namespace:  Devolutions.Utils
Assembly:  Devolutions.Utils (in Devolutions.Utils.dll)

Syntax

Visual Basic
Public Shared Sub AddOrImportRow ( _
	destinationDataTable As DataTable, _
	dataRow As DataRow _
)
C#
public static void AddOrImportRow(
	DataTable destinationDataTable,
	DataRow dataRow
)

Parameters

destinationDataTable
Type: System.Data..::..DataTable
dataRow
Type: System.Data..::..DataRow

See Also