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.
SelectedIndex, but then in your code sample you use SelectedRow. I think you mean to use SelectedIndex throughout.