title: Multiple File Uploading using Gridview in ASP.NET
body: <p>What i am trying to do is, i am getting file name/path using asp.net uploader control and then saving its path it grid view. e.g</p>
  
  <pre><code>String path = String.Empty;  
  path = FileUploader.FileName;
  </code></pre>
  
  <p>and then saving this path in grid view column.</p>
  
  <pre><code>savefiletoGrid(path);
  </code></pre>
  
  <p>After uploading all required files i am saving these file on server. like this</p>
  
  <pre><code>while( // condition )
  {
              string tempfilename = "";  // file name/path from gridview
              string path2 = Server.MapPath("Dir\\" + tempfilename);
              FileUploader.SaveAs(path2);
  }
  </code></pre>
  
  <p>But, problem is that file is being saved on server with correct name but with size 0 byte.
  Please let me know how to solve this issue ?</p>
  
  <p>Actually i want something like client upload in asp.net, i 'll upload more than one file and show them in gridview ( or in something else ) so that user can see files to be selected and can delete from listed files.</p>
  
  <p>File 'll be saved to server only when user click some other button say 'Update'. could you please help me , how to accomplish this ?</p>