Dear friends,
Since yesterday that i am trying to bind my database with the radSchedular with no success. I have a very simple table with the fields 'Title','Description','StartDate','EndData'. I took a look at the examples but i cannot find the SchedularDataSet() type.
I would like to ask you for some help on how can i make a reference so that i can use the SchedularDataSet() type, and, if possible, can you give-me a very simple example?
Thanks in advance.
My table is named 'tasks':
idtask uniqueidentifier;
description nvarchar(50);
smallinfo nvarchar(15);
startdate datetime;
enddate datetime;
Form_Load is:
tarefasTableAdapter1.Fill(bdcrmDataSet.tarefas); AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); appointmentMappingInfo.Start = "startdate"; appointmentMappingInfo.End = "enddate"; appointmentMappingInfo.Summary = "smallinfo"; appointmentMappingInfo.Description = "description"; schedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo; radScheduler1.DataSource = schedulerBindingDataSource1; |
The code give-me no erros, however, the schedular is empty with no info loaded. I checkd the dataset and it has data inside.
Am i missing anything?
Thank you.