softpcapps Software
CODE HELP BLOG
string url_ecnoded_text = HttpUtility.UrlEncode(text_to_encode);
Please note that you have to also add "using System.Web;" on the top and also add a reference to the System.Web library.