Posts Tagged: ADO.Net

ArgumentException – This row already belongs to another table

Posted by & filed under .Net, .Net 3.0 / 3.5, .Net 4.0, ASP.Net, Windows Forms.

Today one of my colleague got this problem while copying datarow from one table to another, he just want to update few values of a same schema dataTable. So he used following method. He was getting an exception like “This row already belongs to another table”. This exception is coming because of A DataRow can [...]