sroberts82
Programmer
Hi I was just wondering if someone could help me. I have an aspx page and on the code behind page I get a variable from the database. Whatever this returned variable is, call it x. I want to have x fields on my form to upload files to the webserver. I tried using
Response.Write("<input type=\"file\" runat=\"server\" size=\"50\" id=\"file1\" name=\"file" + x + "\" />
");
And the things all show up on the page grand, but they dont seem to submit the files. They are not available on the request object on the server side. Any ideas why? or is there a better way to do this? Ive had a good hunt on the web, but still cant figure it out. Thank you again
Stephen
Response.Write("<input type=\"file\" runat=\"server\" size=\"50\" id=\"file1\" name=\"file" + x + "\" />
");
And the things all show up on the page grand, but they dont seem to submit the files. They are not available on the request object on the server side. Any ideas why? or is there a better way to do this? Ive had a good hunt on the web, but still cant figure it out. Thank you again
Stephen