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
Make MFC app invisible on startup (Hide main dialog)
C# design question
windows xp privilidge problem
Printing question
I need some help with a batch file
SQL - display the top and bottom date in one result set
Access ADP Error Msg: "Cannot Find Column"
sql server 2005 no services empty list
How to shrink Wss_Content_log.ldf file in wss 3.0??
Publishing a web server in ISA 2006 that has links to network directories.