<%@ 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>利用Calendar控件动态查询系统日期</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Font-Size="XX-Large" 
            Text="利用Calendar控件动态查询系统日期" Font-Bold="True"></asp:Label>
            <p></p>
 <asp:Calendar ID="Calendar1" runat="server" Width="490px" Height="194px" 
            onselectionchanged="Calendar1_SelectionChanged" 
            ondayrender="Calendar1_DayRender" 
            onvisiblemonthchanged="Calendar1_VisibleMonthChanged"></asp:Calendar>

    <p></p>
    <asp:Label ID="Label2" runat="server" Text="请输入要查找的日期："></asp:Label>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text=" 确 定 " />
        </div>
    </form>
</body>
</html>
