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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need URGENT help ! - picture gallery DATALIST

Status
Not open for further replies.

berc124

Programmer
Dec 30, 2009
1
RO
Hi all ..
I have the following problem :
I'm making a picture gallery :
resized_untitled.jpg

The pictures are in a database (their names).
Waht I want to do :
When I click the linkbutton "Comments", I need to store in Session the ImageUrl of that specific image that is associeted to this linkbutton .
How can I do that ?
Please help.. it's very urgent..
Thanks
 
I have no idea why you'd want to do that, but if it were me, i'd make the button or link postbact/redirect to the same page with the URL in a querystirng parameter. Then in the page_load event, check for that parameter. If the parameter exists, and is NOT already in session, add it to the session object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top