SyntaxFix
Write A Post
Hire A Developer
Questions
Try Server.UrlEncode(), or System.Web.HttpUtility.UrlEncode() for instances when you don't have access to the Server object. You can also use System.Uri.EscapeUriString() to avoid adding a reference to the System.Web assembly.
Server.UrlEncode()
System.Web.HttpUtility.UrlEncode()
Server
System.Uri.EscapeUriString()
System.Web