简体   繁体   中英

store images in a folder and retrieve in c# application with Mysql database

I have a small problem. I have a database called Lease. in this i have a table for customers. So i need to store customer images. it is ok. I used BLOB datatype and the query was successful. But the thing is there will be a lot of customers. I think this makes the database heavy.

So.. I would like to know is there a way to store images in a folder of customer's PC and retrieve it. I think that makes the Database light.

Regards.

You can't store files in the client computer, and even if it was possible, what if he delete the file?

The alternative is to save the path of the image in the database and store the file in a different server .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM