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
before update trigger to prevent a field edit
Setting filter on sub report
variant for ServerName?
How do I join multiple tables using IDataReader
Creating a 'Please Wait' Screen while asp.net page loads
user accounts
Vista and locked admin password
Why do I get a Run time error '2342' A RunSQL action requires an argument consisting of a SQL statement ?
Combining these 2 queries MS SQL
ROXMMTrayapp