This function is used to remove File from FileUpload control.
Syntax:
RemoveFile(FileUploadName,FileIndex (optional))
FileUploadName is the name of FileUpload control.
FileIndex is the index of file in FileUpload control. It is an optional argument.
Example:
RemoveFile(FileUpload1)