72
ASP.NET Upload Multiple Files
ASP.NET FileUpload control provides AllowMultiple property to upload multiple files to the server. This property takes either true or false value.
The <asp:FileUpload> tag is used to create a browse button that allows us to upload file. Let?s create an example to upload multiple files.
ASP.NET Upload Multiple Files Example
This example contains the following files.
// UploadMultipleFilesExample.aspx
// UploadMultipleFilesExample.aspx.cs
Output:
Selecting 2 files to upload
See, initially, the upload folder is empty.
Uploading files to the server.
Now, look at the upload folder. It contains uploaded two files.
Next TopicASP.NET Download File