jasonhuibers
Programmer
The below code is displaying all the Events. How can I have it that when the user clicks on one of the links the eventname is carried over to the TestHistory1.asp page?
I would prefer to store the value into a session variable
do while not drs.eof
session("RecordNumber") = drs("EventName")
Response.Write "<tr>"
Response.Write "<td width='140'><font face='Tahoma'><font type='Tahoma' size='1'><a href='TestHistory1.asp'>" & drs("EventName") & "</td>"
Response.Write "<td width='50'><font face='Tahoma'><font type='Tahoma' size='1'>" & drs("Count") & "</td>"
Response.Write "</tr>"
drs.MoveNext
Loop
Response.Write "</table>"
I would prefer to store the value into a session variable
do while not drs.eof
session("RecordNumber") = drs("EventName")
Response.Write "<tr>"
Response.Write "<td width='140'><font face='Tahoma'><font type='Tahoma' size='1'><a href='TestHistory1.asp'>" & drs("EventName") & "</td>"
Response.Write "<td width='50'><font face='Tahoma'><font type='Tahoma' size='1'>" & drs("Count") & "</td>"
Response.Write "</tr>"
drs.MoveNext
Loop
Response.Write "</table>"