PC Review


Reply
Thread Tools Rate Thread

copy datarowview

 
 
Frank
Guest
Posts: n/a
 
      18th Oct 2004
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


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      18th Oct 2004
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/de...classtopic.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...b;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/de...ssrowtopic.asp

I hope this helps?

Cor


 
Reply With Quote
 
Frank
Guest
Posts: n/a
 
      19th Oct 2004
Thanks Cor,
importrow is a good idea.
Frank

"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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/de...us/cpref/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...b;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/de...us/cpref/html/
frlrfsystemdatadatarowviewclassrowtopic.asp
>
> I hope this helps?
>
> Cor
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataRowView =?Utf-8?B?Sm9l?= Microsoft ASP .NET 2 14th Mar 2006 03:30 PM
<DataRowView> VERSUS <DataRowView.Row> [tridy] Microsoft ADO .NET 2 31st May 2005 06:49 AM
DataRowView Alfred Salton Microsoft ADO .NET 4 16th Nov 2004 04:49 AM
Q: DataRowView Geoff Jones Microsoft VB .NET 2 13th Jul 2004 04:21 PM
DataRowView Dinky Microsoft ASP .NET 1 10th Jul 2003 05:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:10 AM.