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

Show image from Access DB with ASP.NET

Status
Not open for further replies.

fostom

Programmer
Jul 3, 2002
31
NO
Hi!

Lets say I want to display a list of movies from an Access DB. On each movie title I want a link to a <asp:image...>
Note! I want only to have only ONE imagebox which changes to which movie title I press. I want the image to be in realtime, not a new popup window. I have made it with a popup window, but I cant figure out how to show the image real time with asp.net.

Look at this sample link. The movie titles doesnt have any link in this one, but its the way Im thinking.. only this is with classic ASP.


Does anyone have any code regarding getting pics from an Access DB and showing the pic regarding which pic/label you are pressing?

Regards,

Tommy
 
Hi,
U can do this Not By HyperLink but Applying the HyperLink Style to a <asp:Label> and in code behind file for OnClick Event give the url for the image based on the value selected....

Hope This Helps..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top