K
Keith G
I have an event fired by a GridView ButtonField that extracts data from the
currently selected row with this code:
string quote = GV1.SelectedRow.Cells[1].Text;
string fmat = GV1.SelectedRow.Cells[2].Text;
This works fine until I turn on Paging, after which I get this error:
Object reference not set to an instance of an object
Is there something I need to set within OnPageIndexChanged to reset the
SelectedRow.
Thanks
Keith
currently selected row with this code:
string quote = GV1.SelectedRow.Cells[1].Text;
string fmat = GV1.SelectedRow.Cells[2].Text;
This works fine until I turn on Paging, after which I get this error:
Object reference not set to an instance of an object
Is there something I need to set within OnPageIndexChanged to reset the
SelectedRow.
Thanks
Keith