DataTable tab = obj.createtable("Select pics from picto"); byte[] ImgByte = (byte[])tab.Rows[0][0]; FileStream fs = new FileStream("test.GIF", FileMode.Create); fs.Write(ImgByte, 0, ImgByte.Length); fs.Close(); fs = null; pictureBox2.Image = Image.FromFile("test.GIF");