Microsoft
Software
Hardware
Network
Question : How do I add a ComboBox to a C# Datagridview only in a particular cell? Not the whole column.
How do I add a ComboBox to a C# Datagridview only in a particular cell? Not the whole column.
The ComboBox control would always be in column 2 for example for only in particular rows.
Any ideas?
Thanks,
Answer : How do I add a ComboBox to a C# Datagridview only in a particular cell? Not the whole column.
Use following code to set combobox cell in row 2 / cell 1.
1:
dataGridView1.Rows[2].Cells[1] = new DataGridViewComboBoxCell();
Open in New Window
Select All
Random Solutions
VLOOKUP Problem
SQL Command in Crystal Reports
Infopath SQL Server Concatenate multiple row values into one string
Grant user permissions to powercfg registry keys, not working
Excel Printing in Landscape instead of Portrait
SSIS Ftp Connection Manager
I need to run multi-instances of my WinForms app. Any issues?
MS Access 2003 mdb opening error 'Data is in an inconsistent state'
Troubleshooting MS Update problem - related to KB970892 it seems
How do I open .jpg files with VBA code using wildcards