title: fileupload newline in constant
body: <p>I get the problem newline in constant:</p>
  
  <pre><code>    protected void UploadButton_Click(object sender, EventArgs e)
      {
          string theUserId = Session["UserID"].ToString();
          if (FileUploadControl.HasFile)
          {
              try
              {
                  string filename = Path.GetFileName(FileUploadControl.FileName);
                  FileUploadControl.SaveAs(Server.MapPath("~/userdata/"+theUserId+"/uploadedimage/) + filename);
  //here
                  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>Im also wondering is there a way I can resize the image upon upload if so, how?</p>
  
  <p>And as this is a save as in my fileupload control will this overwrite any folder that has the userid already there? (what I want and need)  </p>