Hrm, it could be that the business objects being used by the CRM sample are not correct. The prod_Image field is supposed to be a serialized System.Drawing.Bitmap, not a raw byte[]. It's supposed to look like this:Public Property [prod_Image]() As System.Drawing.Bitmap
Get
Try
Return CType(Me.BinaryFormatter.Deserialize(New MemoryStream(CType(CurrentRow.Item("prod_Image"), Byte()))), System.Drawing.Bitmap)
Catch
Return Nothing
End Try
End Get
Set(ByVal value As System.Drawing.Bitmap)
Dim loStream As New MemoryStream()
Me.BinaryFormatter.Serialize(loStream, value)
Me.CurrentRow.Item("prod_Image") = loStream.ToArray()
End Set
End Property
So, paste that code over the prod_Image property and it should build properly.