copy datarowview

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hi,

I want to put a datarowview aside to use later on. How?

dim curRow as datarowview
dim oldRow as datarowview

oldrow=currow doesn't do the trick because I save the object ref and oldrow
changes with currow. Do I have to copy every item 1 by 1 or is there some
neat trick?
Thanks in advance
Frank
 
Frank,

The datarowview is nothing than a view on a datarow, so copying it seems for
me a little bit impossible.

http://msdn.microsoft.com/library/d...html/frlrfsystemdatadatarowviewclasstopic.asp

You can copy of course a datarow using the importmethod into a new table
which has the same signature because it is cloned from the original table.

http://support.microsoft.com/default.aspx?scid=kb;en-us;305346

For what you can use of course use the row property from the datarowview
what references to the datarow

http://msdn.microsoft.com/library/d...l/frlrfsystemdatadatarowviewclassrowtopic.asp

I hope this helps?

Cor
 

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

Back
Top