Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# listbox delete selected items

while (lst.SelectedItems.Count > 0)
{
   lst.Items.Remove(lst.SelectedItems[0]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #listbox #delete #selected #items
ADD COMMENT
Topic
Name
1+5 =