I'm using Visual Studio .net (asp.net,
vb.net) and I basically have 2 pages: Home.aspx, Week.aspx. The datagrid on Home.aspx is called dgInfo and it consists of Template Columns with the
Header being a
hyperlink and the items are simple text. The headers to each column are labeled "week 1" "week 2" "week 3" etc... across the top.
I have it so when the user clicks on the header it loads Week.aspx in the same window. All fine and dandy there. However, using some method(datagrideventArgs maybe??), I need to recognize which week the user clicks on and assign a number to a session variable that is to be passed on to the Week.aspx page.(ie user clicks "week 3" hyperlink and it passes Session("Week") = 3 to the Week.aspx page.
The code up to this point works perfectly. The page transfer is currently handled in the properties of the hyperlink.
I appreciate all you time and help.
-JT-