In DataGridView
there is a row selected and highlighted by default. How can this default selection and highlighting be removed?
I figured it out myself.
After populating the DataGrid
, I called the following method:
datagrid.ClearSelection();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With