Adding Data From Database to combobox
I have a table th开发者_如何学JAVAat has one column named "Siniflar" in my database. I want to add all the data on that table to combobox. First i put the data to siniflarDataGridView and with "for .. next" i add them to combobox one by one. Is there easier way to add the data to combobox?
Set the combox's DataSource DisplayMember and ValueMember properties appropriately.
If you showed us some of your code one could be more specific
精彩评论