I have got a list box in multi select mode which is data bound with 15 values from a database. I have this code to display the selected values of each item selected in the l
I think you may have a logic error in your code. You are looping through the SelectedItems, but your MessageBox is still using the list_box to display a value. How about this?
foreach (var list in list_box.SelectedItems)
{
MessageBox.Show(list.ToString());
}