What Is Htmlencode
The Htmlencode Method Applies Html Encoding to a Specified String. This Is Useful as a Quick Method of Encoding Form Data and Other Client Request Data Before...
The HTMLEncode method applies HTML encoding to a specified string. This is useful as a quick method of encoding form data and other client request data before using it in your Web application. Encoding data converts potentially unsafe characters to their HTML-encoded equivalent.
What is the use of HtmlEncode?
The HTMLEncode method applies HTML encoding to a specified string. This is useful as a quick method of encoding form data and other client request data before using it in your Web application. Encoding data converts potentially unsafe characters to their HTML-encoded equivalent.
Must Read
What is the difference between server HtmlEncode and HttpUtility HtmlEncode?
1) They are the same. 2) Itβs a matter of convenience: Server. HtmlEncode() is readily availalble at runtime from a web page for example whereas HttpUtility. HtmlEncode() is a static method that can be used from anywhere.