public byte[] GetImageData(int userImgId) { CImage image = new CImage(); image.LoadData(userImgId); return(image.Content); }