I am using SPGridView. I want to fill textboxes with the SPGridview Selected Row Data on a button click event.
Does anyone know how to do that?
My code:
txtCode= SPGridView.SelectedRow.Cell[1].Text;
But when debugging it shows Cell[1] is empty even though it is showing data in the Grid.
Any ideas?
Thanks SAAD