By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 946 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

please help. how to copy the checked listview1 items into listview2....

P: 1
1st i will checking items is add to the listview2 the 1 checked in listview1.
2nd i will checking items is add to listview2 the two checked in listview1.

that is my problem.. so pls help me. this are my codes...

Expand|Select|Wrap|Line Numbers
  1. If ListView1.CheckedItems.Count > 0 Then
  2.             For Each item As ListViewItem In ListView1.CheckedItems
  4.                 ListView2.Items.Add(item.Clone)
  7.             Next
  8.         Else
  9.             ListView2.Items.Clear()
  10.         End If
i want , every i checking items in listview1 is 1 item only added to the listview2..
Oct 15 '14 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
Have you considered handling the checked event for the checkbox and at that point add it to the second ListView?

Oct 16 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.