title: How to change fileupload name
body: <p>im using following code to upload </p>
  
  <pre><code>protected void UploadButton_Click(object sender, EventArgs e)
  {
    if(FileUploadControl.HasFile)
    {
      try
      {
          string filename = Path.GetFileName(FileUploadControl.FileName);
          FileUploadControl.SaveAs(Server.MapPath("~upload/") + filename);
          StatusLabel.Text = "Upload status: File uploaded!";
      }
      catch(Exception ex)
      {
          StatusLabel.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message;
      }
    }
  }
  </code></pre>
  
  <p>I want to change the upload file name...I have to assign file name for every uploaded file how?</p>