title: vb UrlEncoding is not working
body: <p>Hi I am using the below code for encoding a url in vb but I am not getting the expected output please help.</p>
  
  <pre><code>  Dim CancelURL As String = "http://d41a9833f1464bd0a764b77669049fc8.cloudapp.net/Login/Appointment Booking/CancelAppointment.aspx?" &amp;
                                       "clhid=" &amp; objLogin.LoggedHeadOrgID &amp;
                                       "&amp;apptid=" &amp; objAppt.ID
              strTemplateString = strTemplateString.Replace("[Cancellation link]", Uri.EscapeDataString(CancelURL))
  </code></pre>
  
  <p>this is my code and I ended up with this</p>
  
  <pre><code>http%3A%2F%2Fd41a9833f1464bd0a764b77669049fc8.cloudapp.net%2FLogin%2FAppointment%20Booking%2FCancelAppointment.aspx%3Fclhid%3D22b53721-a127-41be-95ca-7512b5caad84%26apptid%3Debb09af1-c521-47d6-9a7d-0b411ef3937d
  </code></pre>
  
  <p>But I am expecting </p>
  
  <pre><code>http://d41a9833f1464bd0a764b77669049fc8.cloudapp.net/Login/Appointment Booking/CancelAppointment.aspx?clhid=3D22b53721-a127-41be-95ca-7512b5caad84&amp;apptid=Debb09af1-c521-47d6-9a7d-0b411ef3937d
  </code></pre>