title: How do I encode an URL?
body: <p>When I run my project I get the url <code>http://localhost:5973/PageToPageValuePass/Default.aspx</code>  I want to Encode the URL since sometimes I need to transfer data from page to page. When the urls are encoded then it increases the reliability.</p>
  
  <pre><code>Server.UrlEncode("http://www.google.com/c#");
  </code></pre>
  
  <p>I get this, but how do I use it to help me encode the url?</p>