System.Web Namespace HttpUtility Class
Minimally converts a string to an HTML-encoded string.
[ VB ] Overloads Public Shared Function HtmlAttributeEncode ( _ ByVal s As String _ ) As String [ C# ] public static string HtmlAttributeEncode ( string s ); [ C++ ] public: static String* HtmlAttributeEncode ( String* s ); [ JScript ] public static function HtmlAttributeEncode ( s : String ) : String;
The encoded string.
HtmlAttributeEncode converts only quotes ( " ) and ampersands ( & ) to equivalent character entities. It is considerably faster than the HtmlEncode methods.
HttpUtility Members HttpUtility.aspxAttributeEncode Overload List
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph