Monday, 9 July 2012

FileUpload

FileUpload control is used to send a file to server from a client computer.

Some Commonly Used Properties of File Upload
FileBytes Property:
This property used to gets the array of bytes inwhich contents of the specified file is saved.
FileContent Property:
This is used to gets the stream object that points to a specified file uploaded by a fileupload control.
FileName Property:
This is used to gets the name of the file that is uploaded by the fileupload control.
HasFile Property:
This is used to check whether the fileupload control has a file or not.