I\'m trying to use the FileUpload control in ASP.NET
Here\'s my current namespace setup:
using System; using System.IO; using System.Collections.Gene
Instead of instantiating the FileUpload in your code behind file, just declare it in your markup file (.aspx file):
FileUpload
Then you will be able to access all of the properties of the control, such as HasFile.
HasFile