Search code examples
javams-access-2007

How to save the images in an MS Access database?


I am using MS Access as the database in my project.

Can anyone help me to give idea that how can i save and retrieve images from this database?


Solution

  • it is generally NOT a good idea to save image in database, instead, people usually save the image on disk, and store its path in database.

    If you really want to do this, write the images' bytes into a Blob column.