What is the best way to populate comboBox from database
Posted on 2010-08-27
what is the best way to populate comboBox from database.. the reason I
am asking is that i have more than 8 comboBoxes in one form and each
should retrieve a lot of data (one combobox contains 50000 items) from a table and I don't want that to slow the form down.
I found this as answer on the net :
You can show the form, but disable the combos. After that, launch an async
delegate populating the combos, and enable them once the data are ready.
But I have no idea on how to do this, can you please submit a sample code...