protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile != null) { String filename = FileUpload1.PostedFile.FileName;// from here we can get the name of the file we have to upload FileUpload1.PostedFile.SaveAs("C:\\"+ filename);// here we have to get the location of the file } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)