0

How can I store an image in a MySQL database using VB.NET? Could you show some examples that use the INSERT command?

4 Answers 4

1

Use the BLOB type.

http://forums.mysql.com/read.php?38,6172,15703

Sign up to request clarification or add additional context in comments.

Comments

1

Depending on the size of the Image data that you are saving, you'll want to use one of the flavors of the BLOB:

I think the max sizes on them are:

BLOB - 64KB max

MEDIUM BLOB - 16 MB max

LARGE BLOB - 4 GB max

Comments

0

I believe the best way to store something like an image in a database is with a BLOB field (Binary Large Object), which is basically just a chunk of data.

Hope this is some help.

Comments

0

You can try AccessImagine (http://access.bukrek.net), all you need to do is to bind it to some BLOB field in Properties Inspector.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.