SpGridView , Get Selected Row Data
- by sbtahir
I m 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 on debugging it shows Cell[1] is empty but it showing data in the Grid.
Any Idea?
Thanks
SAAD