Click here to Skip to main content
13,454,318 members (57,813 online)
Rate this:
Please Sign up or sign in to vote.
See more:
In ASP.NET (c#), When I Click On Thumb Image,Then The Original Image Should Be Displayed With The Given Information About The Image In Another Page....
I have 50 images Are there..Each Time When I Am Clicking each Thumb image Then Each Original Image and Information About The Image Should Be displayed In Another Page...So for that now I Have To Create 50 Pages for The Each Image And Information About That image Or Any Simple Method Is there For My Query...Please Help Me..

Thanks In Advance
Posted 20-Dec-12 21:48pm
Updated 20-Dec-12 21:51pm
Sampath Kumar Sathiya 21-Dec-12 4:08am
Could you please provide the following detail?

Whether your image informations are stored in Database (along with image)?
Md. Humayun Rashed 21-Dec-12 4:14am
I can understand but not details. can you please explain the details what you done. I mean can you explain your code.
Information Is Along With Image Itself In The Database only
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The whole point of using the database is so that you can DYNAMICALLY populate a SINGLE PAGE TEMPLATE with the record from the database.

And that way you dont have to create an indivdual page for each record!

The psuedo code for what you are attempting is as follows...

1 - User clicks on thumbnail.
2 - Based on the thumnail clicked... The record is pulled from the database
3 - The data is bound to a request header and submitted to the TEMPLATE using a GET/POST method in a new window

I have said new window because you stated it should display in another page.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Bind Images using repeater control by image_id stored in database and when u click on image pass image_id as query string and retrieve that image data according to image_id on second page where u want to show image details and image.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180321.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100