ActiveReports 9
IList Binding
Show AllShow All
Hide AllHide All

The IList Binding sample uses CollectionBase class, with implementation of IList interface to create a ProductCollection class which gets populated from the Products table of the NWind database. The created ProductCollection is used as a database for binding data to the DataGridView control.The data from ProductCollection class gets displayed  using the DataSource property of DataGridView control. On clicking the Generate Report button, the ProductCollection class is again used to display the data of the generated report in a Viewer control. Similarly, you can display a report by binding to the DataSource property of a report.

Data from ProductCollection class displayed in DataGridView control

Generated report displayed in Viewer control

Sample Location

Runtime Features

Project Details

See Also

How To

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum