November 2010
1 post
6 tags
This row already belongs to another table
It does, that’s the whole point - I’m trying to copy a row from one datatable to another. Funnily, we can’t just use the (dt is DataTable) “dt.Rows.Add(<datarow>)” method; probably because the datarow contains identifying information relevant to the original datatable - so we have to use “dt.ImportRow(<datarow>)” instead. Just remember that...
Nov 3rd
1 note