This is a migrated thread and some comments may be shown as answers.

Schedular DataTypes

2 Answers 60 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Tiago
Top achievements
Rank 2
Tiago asked on 21 Sep 2009, 05:33 PM
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.



2 Answers, 1 is accepted

Sort by
0
Tiago
Top achievements
Rank 2
answered on 22 Sep 2009, 10:20 AM
Dear friends,

O got it!!!

Actually, it was loading data .. the problem is that is was loading to the year 1894 .. i don't understant why that date was in there but nevermind ...

Don't mind answering, and, i believe some Admin shoud remove this thread.

Thank you very much!
0
Accepted
Robert
Top achievements
Rank 1
answered on 22 Sep 2009, 09:57 PM
Hey Tiago Pinho,

I'm glad to hear you got it working. Persistence always pays off in the end. :)

In case anyone else is interested in binding a database to the RadScheduler, here are some good resources:

- Robert
Tags
Scheduler and Reminder
Asked by
Tiago
Top achievements
Rank 2
Answers by
Tiago
Top achievements
Rank 2
Robert
Top achievements
Rank 1
Share this question
or