I am creating an application in which I will have a database that users cannot edit. It just has data, and it shows the user. I found that I do not need to use localstorage. I can just add the database to the project, and this is read-only. So I did it, and everything is in order. Now I want to add images to my application, and I'm not sure which is better. I can add each image to a folder, the path to the database repository for the image, and it is very simple, and now it can be done. Or, I found that I can store an image in a database as an image (byte []). What's better? Will there be fewer images in the database? Will loading images be faster? If the images in the database are the best solution,can i easily add images to an existing database? Is there any article to do this in winforms? Thanks
Edit:
I'm glad there are so many answers and opinions in my question. I want to explain more of my needs. My application should have about 150 shots, and the image should be 150 pixels and 100 pixels in size. I want the application to work without an internet connection. It can connect to updates, but that’s all. Thanks again for all opinions :)
source
share