Tutorial: Connecting to Object Collections: Conclusion
You created a unique class to hold stock market values, instantiated the class, populated an object collection with data, and dynamically added further data through a web form. You then created a Crystal report with the Crystal Report Designer control that connected to the object collection and dynamically generated a chart and stock summary.
Object collections are a versatile data source for your Crystal reports. With an Object collection, you can write a custom class that populates an object with data either programmatically or dynamically. Object collections can also be used to extend the number of data sources that are provided with a default installation Crystal Reports for Visual Studio by allowing you to write your own data access objects.
To learn more about how to work with an object collection in a report, continue to Addendum: Enhancing Your Report.
Continue to Sample Code Information.