ASP.NET程序实现博客日历

发表于:2007-06-30来源:作者:点击数: 标签:
效果图: 前台页面 %@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Blog_calendar.WebForm1" % !DOCTYPE HTML PUBLIC "-//W3C//D TD HTML 4.0 Transitional//EN" HTML HEAD titleWebForm1/title meta name="GENERAT
效果图:

  前台页面

<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Blog_calendar.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
 <HEAD>
  <title>WebForm1</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" CellPadding="2" Width="160px" TitleStyle-BackColor="#000000" BorderColor="#aaaaaa"
    DayHeaderStyle-BackColor="#5e715e" OtherMonthDayStyle-ForeColor="#clearcase/" target="_blank" >cccccc" DayNameFormat="Full"
    runat="server" TitleStyle-ForeColor="#ffffff" NextPrevStyle-ForeColor="#ffffff" CellSpacing="1"
    WeekendDayStyle-BackColor="#eeeeee" DayHeaderStyle-ForeColor="#ffffff" SelectionMode="None"
    TodayDayStyle-BorderColor="#5e715e" TodayDayStyle-BorderWidth="1" TodayDayStyle-Font-Bold="true"
    TodayDayStyle-ForeColor="#5e715e">
    <TodayDayStyle Font-Bold="True" BorderWidth="1px" ForeColor="#5E715E" BorderColor="#5E715E"></TodayDayStyle>
    <NextPrevStyle ForeColor="White"></NextPrevStyle>
    <DayHeaderStyle ForeColor="White" BackColor="#404040"></DayHeaderStyle>
    <TitleStyle ForeColor="White" BackColor="Black"></TitleStyle>
    <WeekendDayStyle BackColor="Silver"></WeekendDayStyle>
    <OtherMonthDayStyle ForeColor="#CCCCCC"></OtherMonthDayStyle>
   </asp:calendar>
  </form>
 </body>
</HTML>

原文转自:http://www.ltesting.net