'How can I fill a Combobox in a datagridview in Windows Form application using C#
I have populated a Data Grid view dgvSystem from database using C# code. I have 10 rows and 6 columns in my Data Grid view dgvSystem, in this dgvsystem column 2,3,4,5 are check boxes and column 6 is a combobox (dropdown). Combo box for column 6 has to be filled dynamically from database table based on the value of coulmn 1. I am not able to figure out the code for this as I am new to windows form. If someone can help me to write the code to populate the drop down after the data grid is created with drop down. I want to populate this combo boxes at runtime using C# code. Any help will be greatly appreciated. Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
