calendar 2

代码:

<!DOCTYPE html>

<html>

<body>

 

<form runat="server">

<asp:Calendar DayNameFormat="Full" runat="server">

   <WeekendDayStyle BackColor="#fafad2" ForeColor="#ff0000" />

   <DayHeaderStyle ForeColor="#0000ff" />

   <TodayDayStyle BackColor="#00ff00" />

</asp:Calendar>

</form>

 

</body>

</html>

¥

结果:

相关文章