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 + ", "; } }
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: