Cache DataGrid Data

Joined
Feb 10, 2008
Messages
2
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,115
Messages
2,570,698
Members
47,273
Latest member
mikkamuertio

Latest Threads

Top