|
-
Apr 26th, 2006, 11:26 AM
#1
Thread Starter
Hyperactive Member
Creating Session Values from Gridview?
I have a gridview that has a hidden column called clientID. The gridview itself has a DataKeyName called Prop_ID.
When a user selects a row from the gridview, I store the selected rows key value in a session variable as follows
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
Session("PropertyID") = GridView1.SelectedValue
Response.Redirect("~/PagesEDC/aaa.aspx")
End Sub
Q - How do I also store the value of the hidden column in a session variable?
Thanks in advance
Jim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|