views:

27

answers:

1

How do you select the whole DataGridView row on cell select and disabling the selection of a single cell

NOTE: just like the behavior of a listview

+1  A: 

You start by gridView.SelectionMode = FullRowSelect;

That still leaves the option for the user to select (edit) a cell by clicking twice, you'll have to experiment (with Editing and ReadOnly) to get it like you want.

Henk Holterman