title: URL Encoding and Decoding
body: <p>I want to pass URL and my code is:</p>
  
  <pre><code>MyUrl = "http://www.abc.co.in/Download.aspx?period=" + Server.UrlEncode
          (DateTime.Now.ToString("dd-MMM-yyyy")) + "&amp;ProductName="
          + Server.UrlEncode(productName) + "";
  
  mail.Body += "&lt;a href=" + MyUrl + "&gt;Demo Download&lt;/a&gt;";
  </code></pre>
  
  <p>But still I'm getting output like:</p>
  
  <blockquote>
    <p><a href="http://www.abc.co.in/Download.aspx?period=12-Apr-2013&amp;ProductName=Otja" rel="nofollow">http://www.abc.co.in/Download.aspx?period=12-Apr-2013&amp;ProductName=Otja</a></p>
  </blockquote>
  
  <p>So what is wrong with my code and how to decode it on <code>download.aspx</code>?</p>