upload many - sql table structure
upload many - sql table structure

I have been working on an asp.net datatable project. Now I am wanting to let users attach multiple files to a record. I see this is possible:
https://editor.datatables.net/reference/field/uploadMany
but, I am not clear on what tables are needed. One of the samples I came across look like I need a "files" table, and parent/child table that links the parent record with the files table. Is that correct? If so, why don't the other examples seem to use this structure (or they all show the same and I am missing it??)
Answers
https://datatables.net/forums/discussion/59932/file-uploads-example
This thread may help.
all the examples I find are imbedding images. I want to attach pdfs and eml files, so your's is a perfect example. however, can you include the code for your two file render functions, renderFilesEditor and renderFilesDataTable
ok, there is lots of specific stuff in there and not the best piece of sw I've written so far. I wrote this when I had just learned JS after many years of not writing a single line of code a few years ago... I didn't even know that you can return things when they are ready ... always did it at the very end ... You'll have to filter this yourself, I am afraid. I use moment.js with locale specific settings and font awesome icons, too.
Forgot to mention: This renders a lot more than just the uploaded files. I generate files on the server and save them like uploaded files. They also need to be rendered for the data table but are mostly omitted for Editor.