hi guys

i've stored images in sql server. how do i retrieve the images and displaying them on the same page that sends the request. i kinda figured how to retrieve the images using the

file.outpustream

. just need to know o i display the image using an image tag.

You need to use GetBytes() method of DataReader.

See their is one more method you can store the location of image instead of storing image in database....
And then retrieve the location of image and just use image tag...Hope it's clear.....
PS-If your peoblem is solved marked the thread as solved...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.