I\'m trying to get the text of a HyperLinkField in a GridView\'s OnRowDelete event (the HyperLinkField\'s text is the primary key of the row I wish to delete). I understand
((HyperLink)teamGridView.Rows[e.RowIndex].Cells[0].Controls[0] ).Text
will give the text or displayed value of the field. Alternatively we can try
((HyperLink)teamGridView.Rows[e.RowIndex].Cells[0].Controls[0] ).NavigateUrl
for getting the target link.