I have a combobox with 5 coloums of which coloumn 1 is DataGridViewComboBoxColumn

I want to populate / add items to DataGridViewComboBoxColumn with data from access database using datatable.

i am not getting how to add items to DataGridViewComboBoxColumn. How can i do it.

Thanks

small correction on above post

I have a Datagridview with 5 coloums of which coloumn 1 is DataGridViewComboBoxColumn

I want to populate / add items to DataGridViewComboBoxColumn with data from access database using datatable.

i am not getting how to add items to DataGridViewComboBoxColumn. How can i do it.

Thanks

This MSDN Article should help. Basically it appears you create a table with the data to populate the comboboxes, by querying the database, and set the comboboxcolumn datasource to the table.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.