I have found txtname.text = gridview1.getfocusedrowdisplaytext("name")
is it correct ?
Technically, the display text of a cell can be different than the value of the cell (for instance, if you handle the GridView's CustomDisplayText event). You might want to use the GridView's GetFocusedRowCellValue() method.
thank
ilario