2

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 ?

1 Answer 1

6

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

1
  • Thank you !! But i havent expected on MVC ..!! I tried to do is more simple from SQL Query !! But thank you !!
    – goofyui
    Jan 25, 2012 at 19:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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