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
Access 2007 Database Created on Windows & Does Nothing When Opened on XP
MSSQL 2000 DATABASE SETTINGS
Hide Sharepoint navigation elements from users that do not have permission for them
The Certification Authority Service has not been started.
I asked or a password each time I run outlook 2010 Beta, why ?
Open a recordset using DAO 3.6 in Access 2003
Remote Desktop not working...
NTFS Permissions *Bulk Change*
Get Buying Cost From Current Stock
Remote Desktop Urgent