I\'d like to deselect all selected rows in a DataGridView control when the user clicks on a blank (non-row) part of the control. How can I do this?
DataGridView
Set
dgv.CurrentCell = null;
when user clicks on a blank part of the dgv.