System.Web Namespace HttpUtility Class
Minimally converts a string into an HTML-encoded string and sends the encoded string to a TextWriter output stream.
[ VB ] Overloads Public Shared Sub HtmlAttributeEncode ( _ ByVal s As String, _ ByVal output As TextWriter _ ) [ C# ] public static void HtmlAttributeEncode ( string s, TextWriter output ); [ C++ ] public: static void HtmlAttributeEncode ( String* s, TextWriter* output ); [ JScript ] public static function HtmlAttributeEncode ( s : String, output : TextWriter );
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