Hi, i am trying to extract a single row of data from a DataSet. Unfortunately since this program is multithreaded any changes made in a different thread to the DataSet are carried over to my separate DataRow object. I'm declaring the DataRow as below:
Dim DR As System.Data.DataRow = DS.Tables(0).Rows(0)
I SyncLock DS during the declaration but unfortunately any changes made to it after the lock ends are still carried over to DR (despite the fact that DR is declared locally and so should only be accessible within the same thread). is there any way to create a copy of a DataRow object without it being linked to the original DataSet?