hello
i need to specify the path to save the files after they are uploaded using "FileUpload " Control, this is the code i have written
if (FileUpload1.PostedFile.FileName != null && FileUpload1.PostedFile.ContentLength > 0)
{
string filename = Path.GetFileName(FileUpload1.PostedFile.FileName);
string _fpath = Server.MapPath("") + FileUpload1.FileName;
FileUpload1.SaveAs(_fpath);
Label2.Visible = true;
Label3.Visible = false;
}
}
where should i specify the path e.g-"c:\videos" ?