I have two ListBoxes, lstAvailableColors and lstSelectedColors. Between each listbox are two buttons, Add and Remove. When a color or colors is selected in lstAvailableCol
This might help you;
protected void btnRemove_Click(object sender, EventArgs e) { { for (int i = 0; i < lstAvailableColors.Items.Count; i++) { if(lstAvailableColors.Items[i].Selected) lstAvailableColors.Items.RemoveAt(i); } } }