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


The long story is in this KB article.

http://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]);

Skip to main content