Ok, loop problem :twisted:
Personally I like to do my loops like so:
Label1.Text = "";
for (int a = 0; a < ListBox1.Items.Count; a++)
{
if (ListBox1.Items[a].Selected == true)
{
Label1.Text += " " + ListBox1.Items[a].Value;
}
}
I think that might solve your issue. The way your code is written it's taking the "selectedvalue" which I think is basically equating to the most recent or top selected value only and not "all selected values" when writing output.