• 大小: 63KB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-06-13
  • 语言: C#
  • 标签: 日历控件  

资源简介

DayPilot--类似Outlook的日历控件,采用VS2005+C#+ASP.NET开发,可以作为工作计划的日历控件,定义代办事项,事情通知等等!

资源截图

代码片段和文件信息

using System;
using System.Collections;

public partial class BindingArrayList : System.Web.UI.Page
{
    protected void Page_Load(object sender EventArgs e)
    {
        if (!IsPostBack)
        {
            DayPilotCalendar1.DataSource = getData();
            DataBind();
        }
    }

    ArrayList getData()
    {
        ArrayList al = new ArrayList();

        CustomEvent ce = new CustomEvent();
        ce.Start = Convert.ToDateTime(“15:30“);
        ce.End = Convert.ToDateTime(“16:30“);
        ce.Name = “My event“;
        ce.Id = “1“;

        al.Add(ce);

        return al;

    }

    public class CustomEvent
    {
        private string name;
        private DateTime start;
        private DateTime end;
        private string id;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public DateTime Start
        {
            get { return start; }
            set { start = value; }
        }

        public DateTime End
        {
            get { return end; }
            set { end = value; }
        }

        public string Id
        {
            get { return id; }
            set { id = value; }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件       49152  2006-12-29 14:00  DayPilot-2.1-SP3\Binary\DayPilot.dll
     目录           0  2006-12-29 14:02  DayPilot-2.1-SP3\Binary\
     文件         340  2006-12-15 13:53  DayPilot-2.1-SP3\Demo\App_Data\TestingData.xml
     目录           0  2006-12-29 13:59  DayPilot-2.1-SP3\Demo\App_Data\
     文件        2240  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingArrayList.aspx
     文件        1285  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingArrayList.aspx.cs
     文件         660  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingDataTable.aspx
     文件        2416  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingDataTable.aspx.cs
     文件         822  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingxmlDataSource.aspx
     文件         418  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\BindingxmlDataSource.aspx.cs
     文件        1099  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Days.aspx
     文件         605  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\Days.aspx.cs
     文件         568  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Default.aspx
     文件         406  2006-10-17 17:11  DayPilot-2.1-SP3\Demo\Default.aspx.cs
     文件        1031  2006-10-17 20:03  DayPilot-2.1-SP3\Demo\demo.css
     文件        1374  2006-10-17 20:03  DayPilot-2.1-SP3\Demo\Demo.master
     文件        1140  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Demo.master.cs
     文件        1219  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Events.aspx
     文件        1022  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Events.aspx.cs
     文件        1494  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\HeaderDateFormat.aspx
     文件         586  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\HeaderDateFormat.aspx.cs
     文件         984  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\HourHeight.aspx
     文件         629  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\HourHeight.aspx.cs
     文件        1237  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\Navigation.config
     文件        1109  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\NonBusinessHours.aspx
     文件        2128  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\NonBusinessHours.aspx.cs
     文件         872  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\ShowHeader.aspx
     文件         620  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\ShowHeader.aspx.cs
     文件         885  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\ShowHours.aspx
     文件         618  2006-12-29 12:03  DayPilot-2.1-SP3\Demo\ShowHours.aspx.cs
     文件         883  2006-12-29 13:52  DayPilot-2.1-SP3\Demo\TimeFormat.aspx
............此处省略30个文件信息

评论

共有 条评论