title: Gridview with FileUpload control
body: <p>I have a gridview that shows an image as part of one of its columns.  In Edit mode, I would like to let the user have the ability to upload a new image file, so I am using the FileUpload control in the edit portion of the template.</p>
  
  <p>I have an event to capture this i believe:</p>
  
  <pre><code>        protected void GridVew1_RowUpdated(object sender, GridViewUpdateEventArgs e)
      {          
          if (FileUpload1.HasFile)
          {
              FileUpload1.SaveAs(Server.MapPath("images/hardware/" + FileUpload1.FileName));
          }
      }
  </code></pre>
  
  <p>I do not know how to call the control correctly though... How is this functionality coded?</p>