Actually,I'm saving a Image in DB having the datatype image by converting it into byte[].
Now,I'm need to retrieve the data.
So,My Linq Query is :
byte[] str = (byte[])DtImages.Rows[i + 2]["COLUMN_IMAGE"];
var dataimageid = (from xx in VDC.SURVEY_USER_IMAGES
where xx.IMAGE == str && xx.USERID == userid
select xx).FirstOrDefault();
Error Message :The data types image and varbinary(max) are incompatible in the equal to operator.
Is that Possible?