This Function is used to get the File Size of a file selected in a Fileupload control.
Syntax:
GetFileSize(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:
textbox1.Value=GetFileSize(FileUpload1)