I am working in Wpf and want to select multiple items in a listbox from code behind.
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.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)