views:

32

answers:

1

Can crystal reports get data from an object data source instead of a database? I am using the crystal reports that comes with vs2008. I am coding in c# 3.5.

I would like to use an object data source that returns a List< MyClass>.

For when we migrate to ssrs in the future, Can ssrs 2008 get data from this object data source ?

+1  A: 

SetDataSource has an overload excepting ICollection parameters. Using it, you can bind simple collections of objects to CR. But this isn't that flexible than using data sets. With data sets you can bind multiple related tables and build reports of a higher complexity.

The migration of your server has no impact on CR, because SetDataSource only works with disconnected objects such as data sets or object data sources.

Dirk