0
我有FF代碼:Telerik的RadScheduler數據源
// note: entries is a list binded to a query from the database
// wherein i'm passing some parameters to satisfy
// the conditions from the query
foreach (var entry in entries)
{
Appointment appointment = new Appointment();
appointment.Start = entry.StartDateTime;
appointment.End = entry.EndDateTime;
appointment.Summary = entry.Summary;
this.radScheduler.Appointments.Add(appointment);
}
是否有直接綁定到radScheduler
的條目,而無需使用foreach
語句的方法嗎?
我也試過使用radScheduler.datasource
,但它不起作用。