Hi,
I want to link the appointments table to another table of my own.
Can anyone tell me how to do that ?
Thanks
Panna
You can bind the Appointments collection to any DataTable by assiging it to the UltraCalendarInfo.DataBindingsForAppointments.DataSource property. There are properties exposed by UltraCalendarInfo.DataBindingsForAppointments which end in "Member"; these properties provide a way to map the Appointment properties to a database field.
Hi Brian,
Thanks for your reply. It is helping me in one way. But what if I want to link the appoinments table to another table e.g., people, so that i can retrieve the appointments for each record in the people table.
How can I achieve this ?
You can use the DataKeyMember of the ultraCalendarinfo control to store a foreign key pointing to primary key of your 'person' table.
Hi lyleh,
Thank You. Your suggstion is working for me.
Now, as per Brian's suggestion above, I am trying to use my own database table instead of Appointments table.
But the number of fields in my table is larger than the number of Appoinment Properties. So how can I map all the fields to the appoinment properties.
panna_sn said:But the number of fields in my table is larger than the number of Appoinment Properties. So how can I map all the fields to the appoinment properties.