I want to display a Image in a Detailsview which is stored in a DataBase...How to do it..?
How to display a Image in a Detailsview ?
Collapse
X
-
Tags: None
-
-
The web browser has to be able to download the image so that the HTML image tag can display it.
Since your images are stored in a database it is impossible for the web browser to directly access it.
This means that you have to implement an ASPX page that the web browser can call...the ASPX page will retrieve the image from the database and write the image data to the Response.Output stream.
So, now the web browser is able to download the image :)
For a code example of what I'm talking about please check out my response in this thread: Convert byte array into image... I posted another code example in this thread...mouse over effect
-FrinnyLast edited by Frinavale; Sep 14 '10, 03:30 PM.Comment
Comment