📄 mycalendar.aspx
字号:
<%@ Page language="c#" Codebehind="MyCalendar.aspx.cs" AutoEventWireup="false" Inherits="AspCool.WebExpert.XML.MyCalendar" %>
<HTML>
<HEAD>
<title>MyCalendar</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Calendar id="Calendar1" runat="server" BackColor="White" Width="330px" ForeColor="Black"
Height="250px" Font-Size="9pt" Font-Names="Verdana" BorderColor="Black" BorderStyle="Solid"
NextPrevFormat="ShortMonth" CellSpacing="1" FirstDayOfWeek="Sunday" WeekendDayStyle-BackColor="#3366cc">
<TodayDayStyle ForeColor="White" BackColor="#999999"></TodayDayStyle>
<DayStyle BackColor="#CCCCCC"></DayStyle>
<NextPrevStyle Font-Size="8pt" Font-Bold="True" ForeColor="White"></NextPrevStyle>
<DayHeaderStyle Font-Size="8pt" Font-Bold="True" Height="8pt" ForeColor="#333333"></DayHeaderStyle>
<SelectedDayStyle ForeColor="White" BackColor="#333399"></SelectedDayStyle>
<TitleStyle Font-Size="12pt" Font-Bold="True" Height="12pt" ForeColor="White" BackColor="#333399"></TitleStyle>
<OtherMonthDayStyle ForeColor="#999999"></OtherMonthDayStyle>
</asp:Calendar>
<br>
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
事件:<%# DataBinder.Eval(Container.DataItem, "ShortDesc") %>
<br>
日期:<%# DataBinder.Eval(Container.DataItem, "EventDate") %>
<br>
事件描述:<%# DataBinder.Eval(Container.DataItem, "DetailDesc") %>
<br>
开始时间:<%# DataBinder.Eval(Container.DataItem, "StartTime") %>
<br>
结束时间:<%# DataBinder.Eval(Container.DataItem, "EndTime") %>
<br>
<br>
</ItemTemplate>
</asp:Repeater>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -