What is the best way to associate a file with a piece of data?

前端 未结 8 997
别跟我提以往
别跟我提以往 2020-12-29 13:52

I have an application that creates records in a table (rocket science, I know). Users want to associate files (.doc, .xls, .pdf, etc...) to a single record in the table.

8条回答
  •  太阳男子
    2020-12-29 14:21

    I would try to store it all in the database. Haven't done it. But if not. There are a small risk that file names get out of sync with files on the disk. Then you have a big problem.

提交回复
热议问题