首页 > 其他 > 详细

Dexexpress SchedulerControl schedulerStorage 添加数据

时间:2015-05-07 10:13:44      阅读:431      评论:0      收藏:0      [点我收藏+]

在schedulerStorage 中绑定数据的办法,下面是样例代码

schedulerStorage.Appointments.Add(new DevExpress.XtraScheduler.Appointment());
            schedulerStorage.Appointments[0].AllDay = false;
            schedulerStorage.Appointments[0].LabelId = 2;
            schedulerStorage.Appointments[0].Location = "Title";
            schedulerStorage.Appointments[0].Start = DateTime.Now;
            schedulerStorage.Appointments[0].End = DateTime.Now.AddHours(1);
            schedulerStorage.Appointments[0].Subject = "Subject";
            schedulerStorage.Appointments[0].StatusId = 1;
            schedulerStorage.Appointments[0].Description = "描述";

  

Dexexpress SchedulerControl schedulerStorage 添加数据

原文:http://www.cnblogs.com/chinatrust/p/4483995.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!