asp:Literal Mode Transform (C#) : Literal « Asp Control « ASP.Net






asp:Literal Mode Transform (C#)

<%@ Page Language="C#" %>
<html>
<head>
    <title>Show Literal Mode</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:Literal
        id="ltlFirst"
        Mode="PassThrough"
        Text="<hr />"
        Runat="server" />

    <asp:Literal
        id="ltlSecond"
        Mode="Encode"
        Text="<hr />"
        Runat="server" />

    <asp:Literal
        id="ltlThird"
        Mode="Transform"
        Text="<hr />"
        Runat="server" />
    
    </div>
    </form>
</body>
</html>

           
       








Related examples in the same category

1.asp:Literal mode PassThrough (VB.net)
2.asp:literal (VB.net)
3.asp:Literal: Mode Encode (C#)