how to UnSelect all rows in GridView - asp.net ?
if i select one row in GridView and make any refresh, how to unselect this row ?
thanks
Looks like you can set the SelectedIndex to -1
.
gridView1.SelectedIndex = -1;
Note: You will need to do this after each databind of new data to the GridView.
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