ASP.NET common object three (Server object)

zhaozj2021-02-16  73

Server is executing system.web.httpsererutility. The method of the properties it provides helps execute orderly manner.

(1) HTMLENCODE (), htmldecode () htmlencode (): encodes the specified HTML content to make the client only display without performing this code HTMLDECode (): Decoding the HTML format code. Example: To display the following text on the client (note, "display" instead of "execution"):