Q

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 first 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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close