Is it possible and how to disable selection of 1'st row in dataGridView.
I made it select some other row, but even so when u try to move with arrows on keyboard it'll select 2'nd row(cause 1'st row was selected initially and you can see it's selected on RowHeader-1'st/Left Column)
This is my code for selecting row:
BoPrI is int variable that has Index Value
I made it select some other row, but even so when u try to move with arrows on keyboard it'll select 2'nd row(cause 1'st row was selected initially and you can see it's selected on RowHeader-1'st/Left Column)
This is my code for selecting row:
Code:
dataGridView1.ClearSelection(); dataGridView1.Rows[BoPrI].Selected = true; dataGridView1.FirstDisplayedScrollingRowIndex = BoPrI;
Comment