I'm working on an e-voting system right now. i'm having problems in passing a selection from list view to a list box. first is when an item is checked, it is pass in the list box.. but in my case the item is pass when the item is uncheck. second is when i try to uncheck the item, other items from my list view is pass as well even it is not selected..
this is my code so far...
For Each itemlist As ListViewItem In lstviewcandidate.Items
If itemlist.Checked = True Then
ListBox1.Items.Add(itemlist.Text)
Else
ListBox1.Items.Remove(itemlist.Text)
End If
Next
hope someone can help me on this. thanks in advance