A Simple Calendar Demo

This demo illustrates the default behavior of the ASP.NET Calendar control. Note that to move from one month to the next, you must click on the next or previous month links (the < and > to the left and right of the month name).


<June 2019>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Source Code
<html>
<body>
    <form id="frmCalendar" runat="server">
        <table>
       	    <tr>
                <td>
                    <asp:Calendar id="cntCalendar" Runat="Server" Width="100%" />
            	</td>
            </tr>
        </table>
    </form>
</body>
</html>

[Return to the article...]