Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 20-Dec-12 21:51pm
v2
Comments
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)?
[no name] 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.
CHAITANYA KIRAN KASANI 21-Dec-12 4:46am    
Information Is Along With Image Itself In The Database only

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



Note:
I have said new window because you stated it should display in another page.
 
Share this answer
 
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900