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
SQL Server Backup Connection
Vista Home: Use of NET.TCP terminates w3wp.exe and listener
HTC P3400 - Synchronization Problem with HP Laptop - Windows Vista Home Premium
How to read field names from an XSD file.
ReportViewer Export to PDF Loses Tabs or Multiple Blnak Spaces
Connection String for MS Access database outsiide wwwroot
Internet Explorer has stopped working
Can Paypal Standard Checkout be integrated with a MS Publisher created web site?
Data table with offsheet input
Data Modelling