I am trying to insert/update a table in MySQL. I am trying to insert an image file to a column define in MySQL as a 'blob' type. My query is as folows
xxx is declared as :
I get this error:
How can I insert my image. Thanks for the replies.
VB.NET:
update items set picture = '" & xxx & "'
xxx is declared as :
VB.NET:
Dim xxxx As Image = (Me.PicturePictureBox.Image)
I get this error:
Operator & is not defined for types String and System.Drawing.Bitmap
How can I insert my image. Thanks for the replies.