C# Encode URL String


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //ASP.NET
  2. Server.UrlEncode("http://www.vcskicks.com/c#");
  3.  
  4. //WinForms
  5. //Add System.Web.dll reference first (Project > Add Reference)
  6. HttpUtility.UrlEncode("http://www.vcskicks.com/c#");

URL: http://www.vcskicks.com/encode-url.php

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.