Gets a value indicating whether the System.Web.UI.WebControls.FileUpload control contains a file.
Documentation for this section has not yet been entered.
The FileUpload.HasFile property gets a value indicating whether the System.Web.UI.WebControls.FileUpload control contains a file to upload. Use this property to verify that a file to upload exists before performing operations on the file. For example, before calling the FileUpload.SaveAs(string) method to save the file to disk, use the FileUpload.HasFile property to verify that the file exists. If FileUpload.HasFile returns true, call the FileUpload.SaveAs(string) method. If it returns false, display a message to the user indicating that the control does not contain a file.