J
John B
Hello
On Form Closing I want to find out if the current datarow has been modifed.
I thought I could use the following code to get a copy of the record when
the form is loaded and a second copy in form closing and compare the two.
I am having problems comparing though. If I inspect each object, they appear
similar, but using == returns false. How do I do this?
object record = MyDataTable.Rows[0].ItemArray.Clone();
Thanks
John
On Form Closing I want to find out if the current datarow has been modifed.
I thought I could use the following code to get a copy of the record when
the form is loaded and a second copy in form closing and compare the two.
I am having problems comparing though. If I inspect each object, they appear
similar, but using == returns false. How do I do this?
object record = MyDataTable.Rows[0].ItemArray.Clone();
Thanks
John