MMIMadness
Technical User
hi all, this is probbly a very simple question, but i'm new to the .net way of doing things.
i am writing a website and i have a page that returns a record and as part of the informatin there is a linkbutton to run some code for that page. what i need to do is in the linkbutton code set a session variable based on the primary key of the data set i'm working on, so i can use the key value on other pages.
something like; session("prikeyid") = sqldatasource1("prikeyid")
but i know that won't work, if anyone knows what i am missing or can point me in the right direction i would be most gratfull.
MMIMadness
i am writing a website and i have a page that returns a record and as part of the informatin there is a linkbutton to run some code for that page. what i need to do is in the linkbutton code set a session variable based on the primary key of the data set i'm working on, so i can use the key value on other pages.
something like; session("prikeyid") = sqldatasource1("prikeyid")
but i know that won't work, if anyone knows what i am missing or can point me in the right direction i would be most gratfull.
MMIMadness