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.