Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a listview box which is the output for an SQL database entry search i have and i wish to copy an entry in that listview box over to another listview box on the same form.... and at the same time keep the entry in the original listview box.... Any help would be appreciated..

 

thanks

Posted

Chopper:

 

Could you loop and add each item into the other listview??

 

Private Sub MoveItems()
    Dim objTemp as Object
    For Each objTemp In dataview1
         dataview2.Items.Add(objTemp.Clone)
    Next
End Sub

 

I hope that can be of some help. My apologies if I misunderstood what you asked.

~~ The One Who Was ~~
Posted
i am unable to try it right at this minute... as i am not at my machine but one thing i want to add is that i want to be able to select and add entries individually via a "select" button... and not all at once... is this what you meant?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...