This has really been a problem for me in the past and with deadlines, we decided to just have the app copy the image to the server, rename it and save the link in the database. This is the worst way of saving that kind of sensitive data, I know. We now have the time to fix that.

I want to save images to my MySQL database, so this is a two part question.

1) When creating the table in MySQL, what datatype should the column be that would be holding the image?

2) What is the vb code to insert a row where one of the fields will be containing the image into that table?

How do I read it back into a Picturebox or save it to the HDD?