Reputation: 239
I want the user only to be able to select rows and not individual cells in a VB.NET DataGridView.
Is there a way to make this happen? I don't see an option for the DataGridView object to control this via properties.
Upvotes: 0
Views: 2025
Reputation: 53595
You're looking for the DataGridView.SelectionMode property.
You want FullRowSelect.
Upvotes: 1