HTML codes.

HTML CALENDAR

< ! – – Web Form displaying from server – – >

< ! DOCTYPE html>
<html>
<body>

<form runat=”server”>
<asp : Calendar runat=”server”  />
</form>

</body>
</html>

______________________________________________________
OUTPUT

_________________________________________________________________________________

Checkbox

< ! – – Using check box to execute script on server – – >

<script   runat=”server”>
      Sub Check (sender As object,  e As EventArgs )
       if check1 . Checked then
        work . Text=home . text
       else
         work . text-” ”
       end if
     End Sub
</script>

< ! DOCTYPE html>
<html>
<body>

<form runat=”server”>
<html>
<body>

<form runat=”server”>
<p>Home Phone:
<asp : TextBox id=”home” runat=”server”  />
<br>
Work Phone :
<asp : Textbpook id=”home” runat=”server”  />
<asp : Checkbox id=”check1″
Text=”Same as home phone”  TextAlign=”Right”
AutoPostBack=”True” OnCheckedChanged=”check”
runat=”server”  />
</form>

</body>
</html>
______________________________________________________OUTPUT
___________________________________________________________________________________
View XML / XSL
< ! DOCTYPE html>
<html>
<body>

<form runat=”server”>
<asp : Xml DocumentSource=”cdcatalog.xml”  TransformSource=”cdcatalog.xsl”  runat=”server” />
</form>

<p><a href=”cdcatalog . xml ”  target=”_blank”>view XML file</a></p>
<p><a href=”cdcatalog . xsl ”  target=”_blank”>view XSL file </a></p>

</body>
</html>
______________________________________________________
OUTPUT

______________________________________________________

LEAVE A REPLY

Please enter your comment!
Please enter your name here