listview event - item checked
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
In the listview control need to trigger the code if the item is checked? code: 1. For Each lvItem In Me. listview.Items 2. lRow = lvItem.Tag 3. If lvItem.Checked Then 4. If sODeptId Is Nothing Then sODeptId = lRow("owner_dept_id") Else sODeptId = sODeptId & "," & lRow("owner_dept_id") End If End If Next I am calling the above code at listview.ItemCheck but the code is not triggering at line no. 4 if item checked also in 1st time raj