asp:hyperlink runat="server"> is used to create a hyperlink.
Random represents a pseudo-random number generator.
Server.HtmlEncode encodes a URL string.
If characters such as blanks and punctuation are passed in an HTTP stream, they might be misinterpreted at the receiving end.
URL encoding converts characters that are not allowed in a URL into character-entity equivalents.
For example, the characters < and > are encoded as %3c and %3e.
Page includes the following properties:
IsValid which gets a value indicating whether page validation succeeded.
Page.IsPostBack which gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time.
Server can be used to access methods and properties on the server.
Most of these methods and properties serve as utility functions.
Server.HtmlDecode decodes a string that has been encoded to eliminate invalid HTML characters.