Reputation: 447
How can I store an image in a MySQL database using VB.NET? Could you show some examples that use the INSERT
command?
Upvotes: 0
Views: 5079
Reputation:
You can try AccessImagine (http://access.bukrek.net), all you need to do is to bind it to some BLOB field in Properties Inspector.
Upvotes: 0
Reputation: 31406
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
Upvotes: 1
Reputation: 12951
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.
Upvotes: 0