Click here to Skip to main content
15,887,888 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have DataGridView which contains row level details.I would like to select/unselect row on a single click with "MultiSelect = true".

I need to have multiple selection enabled as well.

What I have tried:

I tried Cell_Click event but could not do it
Posted
Updated 15-Jul-19 8:36am
v3

In that case, one usually uses a "check box" on each item and then has some sort of "process" button / event.

Otherwise, you now have to deal with "selection change" events that are dealing with "singles" when actually you're dealing in "multiples" ... adding to a confusing mess.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900