Click here to Skip to main content
15,851,711 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I am working in Wpf and want to select multiple items in a listbox from code behind.
Have done
ListBox1.SelectionMode = SelectionMode.Multiple;

Have googled a lot and have tried a lot of solutions.But still not working.

I have a datatable and all the values which are in my datatable have to be selected in ListBox.I have converted my datatable into a list also.But Still It is not working.

It's urgent.


Thanx
Posted
Comments
Sergey Alexandrovich Kryukov 23-Aug-12 15:54pm    
What is "not working"? This is not informative. Multiple items are not selected or what? You don't need to Google -- it all should work, that why there is no much Google information.
What did you try?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900