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
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note