开发者

Adding Data From Database to combobox

开发者 https://www.devze.com 2023-03-07 07:03 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消