Tag Archives: DataTable

ArgumentException – This row already belongs to another table

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 … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, ASP.Net, Windows Forms | Tagged , , , , , | Leave a comment

How To Convert XMLNodeList To DataTable

After doing an XPath selection using .Net, using XmlDocument.SelectNodes(), it will return XMLNodeList class, sometimes we required to convert the XMLNodeList to Data Table for binding purposes. I couldn’t find a direct way, only way is using looping through the … Continue reading

Posted in .Net, .Net 3.0 / 3.5, ASP.Net | Tagged , , , | Leave a comment