FileUpload Control - Shalvin

Shalvin 0 Tallied Votes 133 Views Share

Uploading a file to a specific folder inside the virtual directory.

FileUpload1.SaveAs(Server.MapPath("~/") + "Photos\\Shalvin\\" + FileUpload1.FileName);
        Response.Write("File uploaded successfully");