ASP.net Using a Session Varriable to move a GridView SelectedDataKey to another page
<p>Help please!</p>

<p>I am pulling out what little hair I have left over this and can't find an answer.</p>

<p>I am attempting to move the selected row in a grid view to another page and use the SelectedDataKey or the primary key value of the selected row to indicate what data should be displayed in a grid view on another page.  This is the last little bit of a school project that I can't figure out.</p>

<p>What I am doing on the first page is to use a button click event to set a session variable that looks something like this.  Session["Select"] = GridView1.SelectedDataKey; The button will then send the user to the next page. Response.Redirect("CustomerAccounts.aspx");</p>

<p>Once on the next page I want to use the primary key selected on the first page to show only the data with a coresponding value on the second page by using a where statement in the next gridview.  So I am setting the [CustomerID]=? Session("Session["Select"])</p>

<p>Am I setting up the where correctly in the second gridview?  </p>
