Where's DataRow.Copy?

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
 
O

One Handed Man

Doesent this do what you need ?

table.importRow( yourRow )

--

Regards - One Handed Man

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top