shubhangi khandale

shubhangi khandale

  • NA
  • 73
  • 147.4k

Multi selected listbox values get in label

Feb 13 2012 1:58 AM
Hi

How to get listbox multiple selected values in label or string.
I have bind data from table in listbox then when i select multi values then this display in label or string
when i try get values in label then display System.Data.Dataview multi time
my code

  for (i = 0; i < lstcsuspectcode.SelectedItems.Count; i++)
  {

  label18.Text = label18.Text + " " + lstcsuspectcode.SelectedValue;
 
  }

Answers (12)