I am testing the control for our university and ran into a problem.
I am using C# and .Net 2.0.
Looking at the documentation it looks as if we are supposed to set the column name properties. This is my code.
DayPilotCalendar1.DataSource = dsReservations;
DayPilotCalendar1.DataTextField = dsReservations.space_reservation.act_head_countColumn.ColumnName;
DayPilotCalendar1.DataStartField = dsReservations.space_reservation.reservation_start_dtColumn.ColumnName;
DayPilotCalendar1.DataEndField = dsReservations.space_reservation.reservation_end_dtColumn.ColumnName;
DayPilotCalendar1.DataValueField = dsReservations.space_reservation.reservation_idColumn.ColumnName;
DayPilotCalendar1.DataBind();
I recieve an error when I try to DataBind() the control to the calendar. The error I recieve is "DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'reservation_start_dt'.".
Any suggestions would be most helpful.
Thanks,
Jason