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
Item not found in collection
How do I create a new MS Access file when copying linked MSQL Tables to a local MS Access table?
E_ACCESSDENIED error when trying to import sites into new site collection with stsadm
Conert "text" to CTime
Activate Reporting Services following reinstall of SQL Server
Installing Server 2003 on Dell Optiplex 780
monitor file creation in specific folder
How do I get correct calculations using Dcount in a Report that is based on a filtered table?
Concatenate in Query with Leading Zero
winxp unstable