if (objTblStudent.Photo != null) { picStudPhoto.Image = byteArrayToImage(objTblStudent.Photo); // <-- Error } public Image byteArrayToImage(byte[] byteArrayIn) { MemoryStream ms = new MemoryStream(byteArrayIn); Image returnImage = Image.FromStream(ms); return returnImage; }
private Image byteArrayToImage(System.Data.Linq.Binary binary) { throw new NotImplementedException(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)