I have a form with a DataGridView control. I notice that if I click on a cell on a row and then check, the SelectedRows.count will equal 0 even though the click event will trigger. If I click on the row selector button on the left side of the row the SelectedRows.Count is correct at 1. Is there any way to get the SelectedRows.Count or another property that will return a consistent value that will indicate the user has selected a row when they click anywhere on the row.
It's a bit confusing because when you click on a cell the entire row is highlighted and I know there's no way the user is always going to click on that row selection button. As a side question is there a property to delete that row selection button?
Thanks,
Tom
It's a bit confusing because when you click on a cell the entire row is highlighted and I know there's no way the user is always going to click on that row selection button. As a side question is there a property to delete that row selection button?
Thanks,
Tom