.NET GridView SelectedRows - Set it to Nothing (No selection)
Posted on 2010-11-23
I am performing a text search in the cells of the GridView. As I enumerate the cells, I set the row visibility to false. However, the 'selectedrow' can never be set to false. How do I make SelectedRows empty. Nada. And this is not a webcontrol, where you can set SelectedIndex to -1.