conceptmgt
IS-IT--Management
Hi
I use the code below to request all the file input boxes from my form. But if I have 5 file input boxes and only 3 of them have a new file selected it will only add 3 items to my array. I want it to add all 5 even if they are blank. How could I do this?
i=0
For Each File In Uploader.Files.Items
ReDim Preserve arrImages(i)
arrImages(i) = File.FileName
i = i + 1
Next
Thanks
Gary
I use the code below to request all the file input boxes from my form. But if I have 5 file input boxes and only 3 of them have a new file selected it will only add 3 items to my array. I want it to add all 5 even if they are blank. How could I do this?
i=0
For Each File In Uploader.Files.Items
ReDim Preserve arrImages(i)
arrImages(i) = File.FileName
i = i + 1
Next
Thanks
Gary