You protect the storage of images in a database, this is rarely a good idea because of the huge overhead. Do you have a good reason for this? Is this a web application or a client desktop application?
The best solution is to save the image in the file system and use a database to store metadata about the image, such as file name, signature, etc.
But, as Maurizio Scheffer says, if you should do this, you're probably better off using the byte [] array, or perhaps use some kind of custom type that encapsulates the byte [] array and provides helper methods such as public Image GetBitmapImage();
source share