Saturday, May 30, 2009

HTML Encoding/Decoding

// HTML Encoding/Decoding

string temp = System.Web.HttpUtility.HtmlEncode("this is a test");
temp2 = System.Web.HttpUtility.HtmlDecode(temp2);

No comments:

Post a Comment