sroberts82
Programmer
Hi,
I have a page which may have to upload any number of files, call the number x. The way I am doing it is I have an asp:table on the page and I cycle through a for loop (0 to x), each time adding a row and cell which contains an asp:htmlinputfile control. Each time I give it an id of file1, file2, file3 etc. My question is, how do I refer to these controls on the server side. I know what x is, but what is the synatx for returning each of the files, or am I going about this the wrong way? Thank you in advance,
Stephen
I have a page which may have to upload any number of files, call the number x. The way I am doing it is I have an asp:table on the page and I cycle through a for loop (0 to x), each time adding a row and cell which contains an asp:htmlinputfile control. Each time I give it an id of file1, file2, file3 etc. My question is, how do I refer to these controls on the server side. I know what x is, but what is the synatx for returning each of the files, or am I going about this the wrong way? Thank you in advance,
Stephen