Problem solve Get help with specific problems with your technologies, process and projects.

Loading images stored in an SQL database to an image box

How can I reload the image stored in an SQL database (image data type) to an image box in ASP.NET?
Well, this depends on how it was stored, but in general you move the database field value to a byte array. Then you convert the byte array to an image and set the image property of the image box.
This was last published in October 2004

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.