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