Can anyone tell me how to prevent multiple cells from being selected in datagridview control?
use the MultiSelect
property
edit: depending on what you want to accomplish, you might have to also use the SelectionMode
property
in the dataGridView
properties >> Behavior section >> set MultiSelect 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