IsEmpty()
cookie
Returns true if the object or variable has no value.ide
if (Request["companyname"].IsEmpty()) {
@:Company name is required.<br />
}
Request.Cookies[key]
ui
Gets or sets the value of an HTTP cookie.spa
var cookieValue = Request . Cookies [ "myCookie" ]. Value ;Server.HtmlDecode(htmlText)
code
Decodes a string that is HTML encoded.htm
var htmlDecoded = Server.HtmlDecode("<html>");
Server.HtmlEncode(text)
ci
Encodes a string for rendering in HTML markup.string
var htmlEncoded = Server . HtmlEncode ( "<html>" );