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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
raghu vPosted Jun 28, 2011, 5:28 AM
regards,
Raghavendra.v
sagar BhosalePosted Jun 28, 2011, 5:24 AM
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 vPosted Jun 28, 2011, 5:21 AM
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
ranjithPosted Jun 28, 2011, 5:18 AM
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