title: How to upload multiple files using ASP.Net and Jquery...?
body: <p>I have added the following javascripts in my aspx page...</p>
  
  <pre><code>&lt;script src="jquery-1.3.2.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="jquery.MultiFile.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have also added the following code in the button click operation.</p>
  
  <pre><code> HttpFileCollection hfc = Request.Files;
      for (int i = 0; i &lt; hfc.Count; i++)
      {
          HttpPostedFile hpf = hfc[i];
          if (hpf.ContentLength &gt; 0)
          {
              hpf.SaveAs(Server.MapPath("MyFiles") + "\\" + System.IO.Path.GetFileName(hpf.FileName));
              Response.Write("&lt;b&gt;File: &lt;/b&gt;" + hpf.FileName + " &lt;b&gt;Size:&lt;/b&gt; " + hpf.ContentLength + " &lt;b&gt;Type:&lt;/b&gt; " + hpf.ContentType + " Uploaded Successfully &lt;br/&gt;");
          }
      }
  </code></pre>
  
  <p>The problem is I can't select mulltiple files...!!!</p>
  
  <pre><code> &lt;asp:FileUpload id="FileUploadControl" class="multi" runat="server"/&gt;
          &lt;asp:Button ID="BtnUpload" runat="server" onclick="BtnUpload_Click" 
              Text="Upload" Width="105px" style="margin-top: 4px" /&gt;
          &lt;asp:Label runat="server" id="StatusLabel" text="Upload status: " /&gt;
  </code></pre>
  
  <p><strong><a href="http://www.c-sharpcorner.com/UploadFile/prathore/multiple-file-upload-using-jquery-in-Asp-Net-3-5/" rel="nofollow">http://www.c-sharpcorner.com/UploadFile/prathore/multiple-file-upload-using-jquery-in-Asp-Net-3-5/</a></strong></p>