I am trying since more than 5 days to retrieve and display an image in a web page, no success so far.
1. I have a table named image, with three fields ImageID, Img_data, Img_contenttype .
2. I am able to display the ImageID as a link in my page.
3. On clicking the link i am going to my viewImage.aspx?img=ImageID .This far it works ok. ImageID is passing in the query string.
4.  In this page imageID is being captured from query string and stored in ImageIdview int variable. viewImage.aspx has an image tag to display the image as below.
<asp:Image Go to the complete details ...