/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for (int i = 0; i < MyListBox.Items.Count; i++) { if (MyListBox.Items[i].Selected) { MyListBox.Items.Remove(MyListBox.Items[i]); } }