Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

From one application, we are storing all images in SQL database in the Image datatype. From another application, i need to retrieve the images and display it on User Interface.

I am able to store the images. I am not able to read the images.

How to retrieve / read SQL Image Data which is stored in the database ?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

For a winforms or a WPF applicaiton things are simpler, just assign the BLOB stream to the image StreamSource property.

share|improve this answer
    
Thank you !! But i havent expected on MVC ..!! I tried to do is more simple from SQL Query !! But thank you !! –  goofyui Jan 25 '12 at 19:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.