Highlight more than one value as selected in a listbox through cod

G

Guest

Hi

I am having trouble selecting more than one value as selected in a listbox
through code. The property "ListSelectionMode.Multiple" is set. There is no
problem selecting manually (CTRL + listitem) from the listbox. I have a
value-string (seperated by komma) which I want to display in a listbox
through code (VB.NET). Only the last value in the value-string is selected in
the list.

Any idea how to keep previously selected items selected in the list when
working through code?

Thanks
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top