http://www.msup.com.cn/?mod=course&year=2010&month=1
这样的功能 C#
要如何实现呢
请高手帮我下,谢谢~

解决方案 »

  1.   

    直接绘制即可,呵呵,正好上回给一小丫头做了一个简单的demo,看明白了自己改改吧
    前台
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title></title>
       <style type="text/css">
         ul{width:100%;} 
       li{float:left;width:100px;}
       </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
        <ul>
        <li></li>
        <%for (int i = 0; i < 7; i++)
          {          Response.Write(" <li>" + list[0].date.AddDays(i).DayOfWeek.ToString() + "</li>");
          } %>
        </ul>
        <%for (int i = 0; i<list.Count; i++)
          {
              if (i % 7 == 0)
              {
                  Response.Write("<ul><li>周"+((int)(i/7)+1).ToString()+"</li>");
              }          Response.Write("<li>"+list[i].money+"</li>");
               if (i % 7 == 6)
              {
                  Response.Write("</ul>");
              } 
              } 
            %>
        
        </div>
        </form>
        </body>后台
     public List<mydata> list = new List<mydata>();
            protected void Page_Load(object sender, EventArgs e)
            {           
                for(int i=0;i<20;i++)
                {
                    var o = new mydata();
                    o.date = DateTime.Now.AddDays(i);
                    o.money = 346;
                                   list.Add(o);
                }           
            }        public class mydata
            {
                public DateTime date;
                public decimal money;
            }
      

  2.   


    DateTime.DaysInMonth(2010, 1);//Get the days via year and month
      

  3.   

    日程控件
    http://topic.csdn.net/u/20090514/17/44bbff7a-0d35-4f59-8537-bd139453645c.html