visual basic .NET check "Check List Box" for Items checked

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maxamis4
    Recognized Expert Contributor
    • Jan 2007
    • 295

    #1

    visual basic .NET check "Check List Box" for Items checked

    Hello folkes. I have a check list box in vb.net and i want to know how I can check and see what items are checked.

    my check box name is ChListServices
  • enreil
    New Member
    • Jan 2007
    • 86

    #2
    Try iterating through its item collection.

    Code:
    Dim clb As New CheckedListBox
    For Each chk As CheckBox In clb.CheckedItems
    ' these are checked
    Next
    That should put you on the right track.

    Originally posted by maxamis4
    Hello folkes. I have a check list box in vb.net and i want to know how I can check and see what items are checked.

    my check box name is ChListServices

    Comment

    Working...