Freigeben über


How to Copy a Data Row from One DataTable to Another DataTable

The long story is in this KB article.

https://support.microsoft.com/kb/308909

The short story is to use the DataTable's ImportRow method as mentioned in the article.

 

destinationDataTable.ImportRow(sourceDataTable.Rows[i]);