Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems accessing a record set in code.

Status
Not open for further replies.

MMIMadness

Technical User
Feb 10, 2004
50
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top