Posted on: 9/28/2012 4:56:15 AM | Views : 170

hello and have a nice day, since im new in vbnet i have some problem in hiding unselected item from checkboxlist [only display select item only]. i store the value using string Yes and No [if user select any list on chekboxlist it stored as YES end else the value store and No]. here what i got 


For i = 0 To CheckBoxSelected1.Items.Count - 1 Try If arrKeys(i).ToString = "YES" Then CheckBoxSelected1.Items.Item(i).Selected = True Else CheckBoxSelected1.Items.Item(i).Selected = False End If Catch End Try Next
 
...

Go to the complete details ...