I'm facing a problem while trying to programatically preselect few items in a databound ListBox. I have set the datasource of the listbox to a DataTable, with required Data and Value member columns. The selection mode of the listbox is MULTIEXTENDED.
Platform: .NETÃÂ 1.1 (not sure if the problem is relevant to other versions)
I tried preselecting items in a different ListBox that is not bound to any datasource. I'm able to preselect items using the SetSelected method. Perfect!
How can I achieve the same for a databound ListBox? What am I missing?ÃÂ Any help will be very much appreciated.
View Complete Post