When I run my project I get the url http://localhost:5973/PageToPageValuePass/Default.aspx 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.

Server.UrlEncode("http://www.google.com/c#");

I get this, but how do I use it to help me encode the url?

Edit
Report