How to select multiple value in ListBox control?
To Select Multiple Value in ListBox Control using following code.
for each(Listitem i in Listbox1.items)
{
if(i.selected)
{
TextBox1.Text+=i.value;
}
}
Explanation:
To Create object for list box control and using one for loop to travel up to all elements of corresponding listbox control and upend all value to one textbox.
Posted by Mahesh ( Tryangled )