show / hide menu

GetFileName

This function is used to get the File name from FileUpload Control.

Syntax:

GetFileName(FileUploadName,HasExtension,FileIndex)

Where
FileUploadName is the name of FileUpload control.
HasExtension is the extension required in the result(true/false)
FileIndex is the index of FileUpload control. It is an optional argument.

Examples:

TextBox1.value=(GetFileName(FileUpload1,true,0))