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).


<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567


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...]