I tried ';ListBox1.Items.Remove([thing to remove])'; but that didn't work. Any suggestions?How do you remove a single item from a List Box in VB.net?
Try this ..
ListBox1.Items.RemoveAt(index # of the item)
Of cause this needs to be within a event .. eg :: Button ClickHow do you remove a single item from a List Box in VB.net?
ListBox.ClearSelected() should do it.
No comments:
Post a Comment