title: Image is not stored after upload
body: <p>Image is not stored into Images folder after upload attempt. What's wrong with my code? </p>
  
  <p><strong>Here is my code:</strong></p>
  
  <pre><code>protected void btnupload_Click(object sender, EventArgs e)
  {   
     if (fileupload1.HasFile)
     {
        string fileName = fileupload1.FileName.ToString();
        string uploadFolderPath = "~/Image/";
  
        string filePath = HttpContext.Current.Server.MapPath(uploadFolderPath);
  
        fileupload1.SaveAs(filePath + "\\" + fileName);
  
        img1.ImageUrl = "~/Image/" + "/" + fileupload1.FileName.ToString();
        lblimg_name.Text=  fileupload1.FileName.ToString();
     }
  }
  </code></pre>