We can upload multiple files from multiple file upload controls using a single code.HTTPFileCollection fileCollection=Request.Files;
for(int i=0;i
{
HttpPostedFile file=fileCollection[i];
If(fileCollection.ContentLength > 0)
{
file.SaveAs(filePath);
}
}
Tuesday, January 13, 2009
File Upload - uploading multiple Files
Category:
.NET,
ASP.NET,
ASP.NET 2.0
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment