<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>动态查看系统日期</title>

    <style type="text/css">
        .style1
        {
            width: 190px;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table align="center"  style="width: 413px;">
            <tr>
                <td align="center"  colspan="2" style="font-size: x-large; font-weight: bold">
                    动态查看系统日期</td>
            </tr>
             <tr>
                <td align="center"  colspan="2">
                    -------------------------------------------------------------------</td>
            </tr>
            <tr>
                <td align="center"  colspan="2">
                    <asp:Calendar ID="Calendar1" runat="server" ondayrender="Calendar1_DayRender" 
                        onvisiblemonthchanged="Calendar1_VisibleMonthChanged" Width="391px">
                    </asp:Calendar>
                    </td>
            </tr>
            <tr>
                <td class="style1">
                    请输入要查看的日期：</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Width="103px"></asp:TextBox>
&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="确 定" 
                        Width="60px" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
