I want my datagrid to only allow one row to selected.
I guess I can do this by adding code to the datagridviews selectionChanged-event, but is there a better solution?
I would prefer to just have a property to set, i.e. : mydatagridview.maximumNrOfRowsSelected = 1
; or something similar.
Is there anything like this?
The DataGridView has a Property called MultiSelect ( default True ).
Set this to False.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With