This function is used to set name to the file in FileUpload Control.
Syntax:
GetFileName(FileUploadName,NewFileName,HasExtension,FileIndex)
Where
FileUploadName is the name of FileUpload control.
NewFileName is the new file name.
HasExtension is the extension required in the result(true/false)
FileIndex is the index of o FileUpload control. It is an optional argument.
Examples:
SetFileName(FileUpload1,NewImage,false,0)