D
Doug Bell
Hi,
Is there a more efficient way to append the rows of a DataTable to a second
DataTable that has the same structure?
Currently I am using a For Next loop:
Dim drSource, drTarget as DataRow
For Each drSource in MySourceDataTable
drTarget =MyTargetDataTable.Rows.NewRow
drTarget = drSource
MyTargetDataTable.Rows.Add(drTarget )
Next dr
Thanks
Doug
Is there a more efficient way to append the rows of a DataTable to a second
DataTable that has the same structure?
Currently I am using a For Next loop:
Dim drSource, drTarget as DataRow
For Each drSource in MySourceDataTable
drTarget =MyTargetDataTable.Rows.NewRow
drTarget = drSource
MyTargetDataTable.Rows.Add(drTarget )
Next dr
Thanks
Doug