// Encode the content for storing in Sql server. string htmlEncoded = WebUtility.HtmlEncode(text); // Decode the content for showing on Web page. string original = WebUtility.HtmlDecode(htmlEncoded);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)