When I create my DataTable I don't seem to be able to set Style
appointmentsTable.Columns.Add(
"Style", typeof(Style
));
I otherwise love the implementation of GenericDataProvider and as my data comes in
through in a rich and complicated Domain model, it suits me.
Can I even use Appointment objects with the Datatable/set or ActivityDataSource?
Kind rgds,
Steve M
Hi ,
FYI, it is also possible to refer any column in your underlying data model ,without actually binding it, using the generic provider. It is possible by using the DataItem property in the Activity and Resource classes. It gives you full access of your data source - and it doesn't need to be bound to any object property.
Thanks,
Angel
I found the answer in the archives. Thanks all.
Nb I can't do it at the control level in the page, as my domain objects specify a different background colour for each type of appointment.