VB .Net VS 2005 List Box Multiple Select
Posted on 2009-04-24
Hi, I am trying to do what should be a simple thing with a list box with mutliple selected values and can not seem to get anywhere near what I want as the result.
Basically I have a mutli select list box with 10 categories which are "cat 1" through to "cat 10".
What I would like to do is check which items in the list box are selected and then have them added to a csv string. So, the output for selected items 1, 3 and 5 would be "cat1, Cat3, Cat5".
I have played with this for hours now and just do not seem to ba able to make progress.
Have checked and tried many of the posting already listed but none seem to work.