In my code attached below, I'm trying to upload a file via ASP.NET. I am dynamically creating the FileUpload control so that means it's not in my ViewState which (I think) means I can't use the control for uploading files unless I use the old fashioned multipat/form-data way which I don't want to do. I need to be able to allow the user to create multiple FileUpload fields and then when they click the Upload File(s) button, it loops through all the FileUpload fields and uploads them to the server.
I'm sure there's a way to do this that I'm just not thinking of - TIA!
For some reason I can't figure out how to paste code in this thing so you can view the code here: http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23992755.html