pisceswzh
Well-known member
- Joined
- Mar 19, 2007
- Messages
- 96
- Programming Experience
- 1-3
Hi,
In the toolstripcombobox tool I can use
to add a new item into the toolstripcombobox.
Now the problem is for the item in this toolstripcombobox, I want to add a tag for each item in it. e.g. for the "abc" I've just added, there might be an ID in the database that refer to it. So everytime the user select "abc", I can get the ID of the item the user have selected.
Is there a way to do that? Thanks!
In the toolstripcombobox tool I can use
VB.NET:
Me.toolstripcombobox.Items.Add("abc")
to add a new item into the toolstripcombobox.
Now the problem is for the item in this toolstripcombobox, I want to add a tag for each item in it. e.g. for the "abc" I've just added, there might be an ID in the database that refer to it. So everytime the user select "abc", I can get the ID of the item the user have selected.
Is there a way to do that? Thanks!