1 year ago
#386880

GoldNova
Default preselected values for Windows Forms DatagridView
I'm currently trying to implement a DatagriView in Windows Forms with preselected and default values.
Basically the first column will have constants as values, which won't change at all. Row 2 and 3 will get their values from Objects and row 4 should have a Combobox with a preselected default value.
Here is an image of what I mean:
I managed to create the Datagridview and to add 2 values into the Combobox but the combobox won't show the first value as selected. I also don't know how to have constant values in the first column.
c#
.net
winforms
datagrid
0 Answers
Your Answer