This topic has not yet been rated - Rate this topic

HttpServerUtility.HtmlEncode Method

Encodes a string to be displayed in a browser.
Name Description
HttpServerUtility.HtmlEncode (String) HTML-encodes a string and returns the encoded string.
HttpServerUtility.HtmlEncode (String, TextWriter) HTML-encodes a string and sends the resulting output to a TextWriter output stream.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.