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
Array to Range crash Excel bug
Mapping drive to Win 7 machine
add image to Newsflash module layout in Joomla template
Track user logon/logoff to the access database.
Why is #include "stdafx.h" required to run the following code from this C++ book?
setup and deployment in vs 2005
Creating a child window
How do I find the highest value in a column in a list box?
Address generator for UK test data.
PC Won't Run Firefox