Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Upload image with Windows Form Application C#

Jack Ryan's profile image Jack Ryan posted 4 months ago in General Permalink

Hi ! I try to upload image with windows form application c# to database, i convert the image to binary but when i upload it to the database (into blob type), and try to display the image in the databse, but it says: "This image is invalid because it contains invalid pieces of data(crc error)".

I look forward to your answer. Thank you

ansgar's profile image ansgar posted 3 months ago Permalink

Is that an erorr of HeidiSQL's own image preview panel?

Jack Ryan's profile image Jack Ryan posted 3 months ago Permalink

Yes

ansgar's profile image ansgar posted 3 months ago Permalink

Well I must admin the image preview has some issues, so it's not necessarily your image or your application which has an issue. I already saw some subformats of jpg's throwing such errors here.

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.