0
I have an app WebForms that needs to receive multiple files that will be associated with a specific type of my system.
Ex:
Type: [Driver’s license] | Filing cabinet: img001.png
Type: [Proof of residence] | Filing cabinet: comp001.pdf
I need to receive this information on a page WebForm .aspx.
If it was just to get the files, you could get it using the Request.Files, but I need to know the type of document to save in the bank.
I imagined doing something on how to use the name of the file fields as a array using arquivos[0], arquivos[1] and associate with the type (tipos[0], tipos[1]). Doing so could use the index I could ensure that the type would be related to the file. But I don’t know how to access this information on the pages .aspx.
With MVC I can do it well, but as I do not have the mastery with the WebForms I end up hitting myself a little with this.
How could I do it in a way without "Gambiarras"?
Managed to solve?
– durtto