How to disable RowHeader on a DataGridView
问题 How can I prevent from clicking or selecting RowHeader s? I want that when a new user clicks on a row or cell , then move all information to an update Form and it's working fine. But, if a user clicks on a RowHeader , then it should select all rows and generate an error. I know I can hide RowHeader s, but I want to show RowHeader s and I want to prevent users from clicking on them. I have used the SelectionMode property of the DataGridview and set it to CellSelect/FullRowSelect etc, but it