|
-
Nov 11th, 2008, 12:25 AM
#1
Thread Starter
Lively Member
Adding the Id of an item in CheckedListBox
Hi!
I am still new in VB.Net.
For Example I have a declaration
Public EmpId as String
I just wanted to ask help about saving the ID's of the checked items in CheckedListBox to my EmpId variable. The ID that I will be saving has a string data type.
I tried this code but i don't think it is right.
Dim o As Object
For o = 0 To chkListBoxEmployee.CheckedItems.Count - 1
MessageBox.Show(o.ToString)
Next o
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|