Solution:
Previous section code:
<%@ page language= "C #" autoeventwireup= "true" codebehind= "MultiFileUpload.aspx.cs" inherits= " Webapplication1.multifileupload1 "%><! DOCTYPE html>Back-End Code:
Using system;using system.collections.generic;using system.linq;using system.web;using System.Web.UI;using System.web.ui.webcontrols;namespace webapplication1{public partial class MultiFileUpload1:System.Web.UI.Page { protected void Page_Load (object sender, EventArgs e) {} protected void Uploadbutton_click (OBJEC T sender, EventArgs e) {///Traverse File table cell httpfilecollection files = HttpContext.Current.Request . Files; Status information System.Text.StringBuilder STRMSG = new System.Text.StringBuilder ("The user name you entered is:" + TextBox1.Text + "<br /> "); Strmsg.append ("uploaded files are:
Final effect:
--------------------------------------------------------------------------------------------------------------- ---
ASP.-Multi-file upload, plain code, no plugins