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
Sorting NULLs last when Sort Order is Ascending
How do I get Outlook 2007 to keep from asking me to login each time I close and reopen?
Geting a vbYesNo MsgBox to call a macro
Microsoft Office 2007 Enterprise continually tries to reinstall
Foxpro Can't Seem to Find Word 2007 under Windows 7
PHP SESSION doesn't pass value to sub or upper directory on Linux
Show / Hide command button?
System error 5 has occurred when using NET USE and Windows Server 2008
Maximize Worksheet when opened
Exchange 2007 - Error Mounting Database to Network Share