title: Uploading an image to a folder in desktop
body: <p>I can't get to upload an image to a specified folder. Here's the code.</p>
  
  <pre><code>protected void btnSubmit_Click(object sender, EventArgs e)
  {
      if (FileUploader.HasFile)
      {
          try
          {
               string filename = Path.GetFileName(FileUploader.FileName);
               FileUploader.SaveAs(@"D:\Users\SGG90745\Desktop\PICTURES" + filename);
               Label1.Text = "Uploaded Successfully!!";
          }
          catch (Exception ex)
          {
              Label1.Text = "Upload status: The file could not be uploaded. The following error occured: " + ex.Message;
          }
      }
  }
  </code></pre>
  
  <p>When I click on upload, the label does says <code>Uploaded Successfully!!</code> as written in the code but the picture is not in the specified folder in the code. Please help thank you!</p>