View on GitHub

dotnet-eud

.NET Controls End-User Documentation

Bind Report Controls to Data

This topic describes how report controls can be bound to data fields, and explains how controls are rendered on different report bands.

This document consists of the following sections.

Controls Binding

A report control can be bound to a data field available in the report’s data source. And a control can also be bound to a calculated field or parameter. You can provide data to elements of the report in the following ways.

Controls Unbinding

To unbind a control’s property, switch to the Properties Panel, and set the Data Bindings property to None.

eud-report-control-data-binding-3

Control Behavior on Different Bands

When binding a control to a data field, its rendering depends on the band type where the control resides. For example, if a control is placed in the Detail band, every single record in the data source will be returned and displayed in the control. Bound controls in grouping bands show data by dividing all data into groups.

And bound controls in remaining bands display data from the record which is current when the band they are in is being printed/displayed. This is illustrated in the following images.

Report Designer Report Preview
eud-report-control-data-binding-0 eud-report-control-data-binding-1