UploadedFileFileName Property |
Gets the fully-qualified name of the file on the client's computer (for example
"C:\MyFiles\Test.txt").
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public abstract string FileName { get; }
Public MustOverride ReadOnly Property FileName As String
Get
public:
virtual property String^ FileName {
String^ get () abstract;
}
abstract FileName : string with get
Property Value
Type:
StringA string containing the fully-qualified name of the file on the client's computer.
Examples
The following example assigns the name of an uploaded file (the first file in the
file collection) to a string variable.
UploadedFile MyUploadedFile = KaxUpload1.UploadedFiles[0];
string MyFileName = MyUploadedFile.FileName;
Dim MyUploadedFile As UploadedFile = KaxUpload1.UploadedFiles(0)
Dim MyFileName As String = MyUploadedFile.FileName
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also