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
An error (193) occured while creating user logon.
CD/DVD not recognized in disk drive
Outlook 2007 keeps asking for password from SBS 2008 Exchange Server
Error 0x9004010f when trying to add an Exchange Mail Box to Outlook XP
why will windows 98 only start in safe mode?
To many controls on a form- Reports SLOW!!
Sharepoint_Config Log file
Urgent System.UnauthorizedAccessE<wbr />xception
SSRS 2008 error exporting to Excel
vb.net service needs to restart itself