protected void
Button1_Click(object sender, EventArgs e)
{
//Here
You Have To Clear Label Before Append New Values....
SelectedListLabel.Text = "";
foreach(int i in ListBox1.GetSelectedIndices())
{
//It Will Just Display Your Selected Values In The Label.....
SelectedListLabel.Text += ListBox1.Items[i].Value + ", ";
}
}
|