LLBLGEN 4.0 Rel May 15th, 2013
.Net Framework 4.0
C# Windows Application
SQL Server 2008
LLBLGEN runtime framework self servicing
I am trying to store image in sql server.
memberimage.Image = Picture;
Column Image in DB is type Image
I am passing Image "Picture" as data type Image.
Error:
Cannot convert source type System.drawing.image to target type byte[].
Also tried memberimage.Image = Convert.ToByte(Picture);
Error:
Cannot convert source type byte to target type byte[].