I am using visual studio 2010, (desktop application) and using LINQ to SQL to save image/video or audio files to database in dataType VarBinary (MAX). This I ca
VarBinary (MAX)
It's very easy, if you have a binary data and want to create an Image object, use this code:
public Image BinaryToImage(byte[] binaryData) { MemoryStream ms = new MemoryStream(binaryData); Image img = Image.FromStream(ms); return img; }