Where's DataRow.Copy?

  • Thread starter Thread starter Daniel Barisch
  • Start date Start date
D

Daniel Barisch

Why is it possible to copy a whole DataTable/DataSet, but not a single
DataRow?

Wouldn't it be the fastest method...

myOrgRow = myRow.Copy
myOrgRow.RejectChanges

....to get the original values of a DataRow?

But so I have to copy the whole DataTable and to search for the Row
manually. Or is there an other (quick) way to get the original-values?

Thanks, D.Barisch
 
Doesent this do what you need ?

table.importRow( yourRow )

--

Regards - One Handed Man

Author : .NET Unwritten on the Edge
MSCFN, MSAFA
==============================
 
Back
Top