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
Windows 2008R2 64bit server restarting unexpectedly
Unknown Function Name
VB.NET: how to highlight listview item and place on TOP
Hi my website has a verisign certificate and it has secure payment integrated the certitifcate is expiring tomm. will i have any problem ?
run-time error '-247352567 (80020009)': You can't assign a value to this object
Import data from excel then add autonumber field: 90000 rows
I just wanted to check that the file type 'trn' is used for transaction log backups?
Save unbound combobox column value in Access 2007
How to enable computer browser service via domain group policy editor
Restrict Access to SQL 2008