ei guys, i am stuck in getting unchecked in listview... pls help me... thank u :) this is my code... [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each item As ListViewItem In ListView1.Items If CheckState.Unchecked Then MsgBox(ListView1.Items.Item(0).SubItems(1).Text) End If Next End Sub [/CODE]

Member Avatar
Member Avatar
+0 forum 4

i want to get the row(s) when the checkbox is check/uncheck in the listview.. thank u... [ICODE] For Each Item In CheckedItems If (Item.SubItems(4).Text) = "Cash" Then 'Code Here ElseIf (Item.SubItems(4).Text) = "Check" Then 'Code Here End If Next If (e.CurrentValue = CheckState.Checked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code Here ElseIf LstvwBankDeposits.Items(0).SubItems(4).Text = "Check" Then 'Code Here End If ElseIf (e.CurrentValue = CheckState.Unchecked) Then If LstvwBankDeposits.Items(0).SubItems(4).Text = "Cash" Then 'Code Here ElseIf LstvwBankDeposits.Items(0).SubItems(4).Text = "Check" Then 'Code Here End if End if [/ICODE]

Member Avatar
Member Avatar
+0 forum 10

So I got help from here earlier with one problem and a few more have arisen, the biggest is for some reason my checkbox and dropdown array won't store the data and when it's supposed to check to verify there is at least 1 selected of each nothing happens... To be honest the ideal thing would be to have it check to see if the drop down size selection below the checkbox was selected, but I'll do whatever as long as it works. Thanks ahead of time for the help. Here's my page code: [code] <html> <HEAD> </head> <body> <?php …

Member Avatar
+0 forum 0

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... [CODE] 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[/CODE] hope someone …

Member Avatar
Member Avatar
+0 forum 4

The End.