Get Multiple selected Items from Listbox in asp.net
By Super Man
here i will show how to get multiple selected items from listbox in asp.net
There is no selecteditems method which returns listiem array. So here we can get
the selectedindices and through index we can access the listbox selected item.
Dim index() As Integer = Listbox1.GetSelectedIndices()
For Each i In index
MsgBox(Listbox1.Items(i).Value)
Next
Get Multiple selected Items from Listbox in asp.net (1843 Views)