Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# fileupload example

String savePath = @"c:	empuploads";
if (FileUpload1.HasFile) {
  String fileName = FileUpload1.FileName;
  savePath += fileName;
  FileUpload1.SaveAs(savePath);
}
 
PREVIOUS NEXT
Tagged: #fileupload
ADD COMMENT
Topic
Name
9+3 =