I am trying to select a row of a datagrid and capture the individual data for use on another page. For Instance, I want column 3 of the selected row to be inserted on a separate page. I know how to use cache but need help sending the original data to the cache. Here's what I have.
Protected Sub btnsend_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Cache("ID") = GridView1.SelectedRow.Cells(3)
Response.Redirect("send.aspx")
End Sub
Protected Sub btnsend_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Cache("ID") = GridView1.SelectedRow.Cells(3)
Response.Redirect("send.aspx")
End Sub