码迷,mamicode.com
首页 > 其他好文 > 详细

Dexexpress SchedulerControl schedulerStorage 添加数据

时间:2015-05-07 10:16:15      阅读:214      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!