Author: dkaur76 | Posted on: 6/11/2009 11:36:27 AM | Views : 405

 I am downloading an image fro the data server to local disk, then want to display this on a web page. The downloading part works fine. I see the image in the folder where I downloaded. But, it does not appear on the web page. Please check my code and guide what is wrong.
DOWNLOADING IMAGE CODE:
if (collection.Count != 0)//custom image found
        {
            image = collection[0] as PersonalImage;
            using (Stream currentImageStream = image.ReadImage())
            {
                byte[] imageBytes = new byte[currentImageStream.Length];
                currentImageStream.Read(im ...

Go to the complete details ...