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
Wyse terminal questions
asp.net need help on setting color fro a gridview cell on added row
Connection problems after Virtualization, maybe Same SID?
Subreport within a subreport
Convert SBS 2008 P2V
sql stored procedure select compare dates null issue
NTBACKUP scheduled backup fails - VSS problem?
ODBC connection to Oracle 9 db trough Cisco VPN and ISA
Format Datagrid
MBOX TO PST