M
Mike
I'm passing an array to a listbox such as (1,2,3,4,5,6,7), I want to
highlight (select) all the items in the listbox were the value equals
(1,2,3,4,5,6,7). I'm able to only get the last value selected, how can I get
all of them selected?
The listbox selectionMode= mulitple
for (int i = 0; i < Id.Length; i++)
{
CarList.SelectedValue = Id;
}
this is only getting me the last value being passed in from the array
selected. I want all of the values passed in selected.
highlight (select) all the items in the listbox were the value equals
(1,2,3,4,5,6,7). I'm able to only get the last value selected, how can I get
all of them selected?
The listbox selectionMode= mulitple
for (int i = 0; i < Id.Length; i++)
{
CarList.SelectedValue = Id;
}
this is only getting me the last value being passed in from the array
selected. I want all of the values passed in selected.