Rose_The_Only
Rose_The_Only

Reputation: 248

Adding Data From Database to combobox

I have a table that 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?

Upvotes: 1

Views: 463

Answers (1)

Conrad Frix
Conrad Frix

Reputation: 52675

Set the combox's DataSource DisplayMember and ValueMember properties appropriately.

If you showed us some of your code one could be more specific

Upvotes: 1

Related Questions