Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want multiple file uploder file manager in asp.net in c#....plzz help me....i hardly need it
Posted

You can search in Google or Bing. You will find many articles on this. Below are some of them.

1. Implementing multiple file upload with progress bars within ASP.NET[^]
2. Upload multiple files with ASP.Net 4.5 FileUpload control in Visual Studio 2012 and 2013[^]
 
Share this answer
 
i want file manager for multiple uploading at once...
 
Share this answer
 
 
Share this answer
 
v2
I solved my problem with dev express. by using this code:



XML
<dx:ASPxFileManager ID="ASPxFileManager1" runat="server" Width="827px">
        <Settings ThumbnailFolder="~\content\thumb\" />
        <SettingsToolbar ShowDownloadButton="True" />
        <SettingsEditing AllowDelete="True" AllowRename="True" />
       <SettingsUpload Enabled="False">

</SettingsUpload>
    </dx:ASPxFileManager>
    <div id="upload-div">
    <asp:FileUpload ID="Uploadaudio" runat="server" AllowMultiple="true" Width="200px"/>
    </div>

    <div id="upload-submit">
    <asp:Button runat="server" ID="uploadedFile" Text="Upload" OnClick="uploadFile_Click" />
    </div>






C#
protected void uploadFile_Click(object sender, EventArgs e)
{
    if (Uploadaudio.HasFiles)
   {
       foreach (HttpPostedFile uploadedFile in Uploadaudio.PostedFiles)
       {

           uploadedFile.SaveAs(System.IO.Path.Combine(Server.MapPath("~/content/uploads/bkfiles/" + BookId.ToString(CultureInfo.InvariantCulture) + "/"),
           uploadedFile.FileName));

       }
   }
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900