ActiveReports 8 > ActiveReports User Guide > Samples and Walkthroughs > Samples > Section Report > Data > Unbound Data Sample |
The Unbound Data sample demonstrates how to create a dataset for a section report and use the FetchData event to populate the Fields collection to display the report unbound data.
When you run the sample, the Viewer control displays the form with four tabs, each with a different dataset binding technique. Click to select a tab, and then click the Build Report From button to create the report with unbound data.
Sample Location
Visual Basic.NET
<User Folder>\ComponentOne Samples\ActiveReports 8\Section Reports\VB.NET\Data\UnboundData
C#
<User Folder>\ComponentOne Samples\ActiveReports 8\Section Reports\C#\Data\UnboundData
Runtime Features
Project Details
MainForm
This is the main form of the sample that uses the ActiveReports Viewer control in the bottom section of the form, and a panel docked to the top contains four tabs, each with a different data binding technique. Click to select a tab, and then click the button on the tab to display the report with unbound data.
UnboundDAInvoice report
The Invoice report for the Unbound data with a Data Array option. The report consists of the page header, group header, detail, group footer and page footer sections. The detail section contains information on the order details, the group header provides grouping data functions by using its DataField property.
For the details on the Invoice report, see the Bound Data Sample topic.
UnboundDRInvoice report
The Invoice report for the Unbound data with a DataReader option. The report consists of the page header, group header, detail, group footer and page footer sections. The detail section contains information on the order details, the group header provides grouping data functions by using its DataField property.
For the details on the Invoice report, see the Bound Data Sample topic.
UnboundDSInvoice report
The Invoice report for the Unbound data with a DataSet option. The report consists of the page header, group header, detail, group footer and page footer sections. The detail section contains information on the order details, the group header provides grouping data functions by using its DataField property.
For the details on the Invoice report, see the Bound Data Sample topic.
UnboundTFInvoice report
The Invoice report for the Unbound data with a Text File option. The report consists of the page header, group header, detail, group footer and page footer sections. The detail section contains information on the order details, the group header provides grouping data functions by using its DataField property.
For the details on the Invoice report, see the Bound Data Sample topic.