Hi,
I need to bind a arraylist object in a object to a
listbox. The elements of the arraylist are a subset of the
items in the listbox. So what is needed is to bind the
arraylist to the listbox such that, the items in the
listbox corresponding to the elements in the arraylist
should be selected.
I could bind the listbox the the arraylist, but the
effect is that the listbox shows only the items
corresponding the the arraylist elements, other elements
are remove. But the expected effect is that all the items
in the listbox remain as it is, but only the items
corresponding to the arraylist elements should be Selected.
Please help. Thanks.
|