Hello Friends, I am trying to select a cell from a gridview and send it to another page but the truth is that it selects anything for me. Tried several alternatives and nothing. I hope you can give me a hand.


Dim index As Integer = GridView1.SelectedRow.RowIndex
Dim TctValue As String = GridView1.SelectedRow.Cells(1).Text.ToString()
Dim contacto As String = GridView1.SelectedRow.Cells(0).Text
Session.Add("recid2", TctValue)
Session.Add("contacto", contacto)
Response.Redirect("~/datos_contacto.aspx?colect=" & TctValue)