Hii friend, how to display uploaded images on website in asp.net
suppose i will provide imagepath how to display images in webpage
can i need to stored imagepath in sql table
plz give me some example or code
thanks
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ranjith60 reputationPosted Jun 28, 2011, 1:18 AM EDT
You can save the image in sql table image as a column but its better and good practice to save the images in physical location.
http://www.codeproject.com/KB/aspnet/ImageInDatabase.aspx
http://www.codeproject.com/KB/ajax/AJAXUpload.aspx
Go through the above links..
Thanks
Ranjith
raghu v52 reputationPosted Jun 28, 2011, 1:21 AM EDT
pls refer the folowing links
to display in image control
http://geekswithblogs.net/dotNETvinz/archive/2009/04/24/displaying-image-to-image-control-based-on-user-selection-in.aspx
http://www.beansoftware.com/asp.net-tutorials/images-database.aspx
http://www.aspnettutorials.com/tutorials/database/saving-retrieving-image-cs.aspx
to display the image in gridview stored in database
http://csharpdotnetfreak.blogspot.com/2009/07/display-images-gridview-from-database.html
http://msdn.microsoft.com/en-us/library/aa479350.aspx
hope this will help u
sagar Bhosale162 reputationPosted Jun 28, 2011, 1:24 AM EDT
I am not stord images in database i stored image location path in database table
so my doubt is when admin want to change the image on website how to change that images which is display in webpage
Thanks Again.
raghu v52 reputationPosted Jun 28, 2011, 1:28 AM EDT
regards,
Raghavendra.v