asp.net fileupload code example
Example: c# fileupload example
String savePath = @"c:\temp\uploads\";
if (FileUpload1.HasFile) {
String fileName = FileUpload1.FileName;
savePath += fileName;
FileUpload1.SaveAs(savePath);
}
String savePath = @"c:\temp\uploads\";
if (FileUpload1.HasFile) {
String fileName = FileUpload1.FileName;
savePath += fileName;
FileUpload1.SaveAs(savePath);
}