You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reporting-for-desktop/articles/report-designer/report-designer-for-winforms/use-report-elements/bind-controls-to-data.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ author: Anna Gubareva
4
4
---
5
5
# Bind Report Controls to Data (Expression Bindings)
6
6
7
-
You can use the following approaches to include a data source's information in your report:
7
+
You can use the following approaches to include data source information in your report:
8
8
9
9
*[Use the Field List](#use-the-field-list)
10
10
*[Use the Smart Tag](#use-the-smart-tag)
11
11
*[Use the Property Grid](#use-the-property-grid)
12
12
13
13
## Use the Field List
14
14
15
-
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source's hierarchy and provides access to the available data fields.
15
+
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source hierarchy and provides access to available data fields.
16
16
17
17
Drop a data field from this panel onto a report's surface to create a new report control bound to the corresponding field.
Copy file name to clipboardExpand all lines: reporting-for-web/articles/report-designer/create-reports/table-reports.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,23 @@ author: Anna Vekhina
4
4
---
5
5
# Table Reports
6
6
7
-
This tutorial describes how to create a data-bound report displaying information in a tabular format. Table reports should not be confused with hierarchical [master-detail reports](master-detail-reports-with-detail-report-bands.md), nor with [cross-tab reports](cross-tab-reports.md).
7
+
This tutorial describes how to create a data-bound report that displays information in a tabular format. Table reports should not be confused with hierarchical [master-detail reports](master-detail-reports-with-detail-report-bands.md), nor with [cross-tab reports](cross-tab-reports.md).
1.[Create a new report](../add-new-reports.md) or [open an existing one](../open-reports.md).
12
12
13
13
2.[Bind the report](../bind-to-data.md) to a required data source.
14
14
15
-
3. Add the [Page Header](../introduction-to-banded-reports.md) band to the report to print the column headers at the top of every document page. To do this, from the report's context menu, select the **Insert Page Header Band** command.
15
+
3. Add the [Page Header](../introduction-to-banded-reports.md) band to the report to print the column headers at the top of every document page. To do this, select the **Insert Page Header**Band command from the report's context menu.
4.Drop the [Table](../use-report-elements/use-tables.md) control from the [Toolbox](../report-designer-tools/toolbox.md)onto the Page Header band and specify columns' text to create column headers.
19
+
4.Switch to the [Field List](../report-designer-tools/ui-panels/field-list.md), select data fields, hold `Shift` when you drag fields and drop them onto the report design area. This creates a data table with data field names.
5. To provide dynamic content to the report, switch to the [Field List](../report-designer-tools/ui-panels/field-list.md), select data fields and drop them onto the Detail band.
23
+
5. To provide dynamic content to the report, select data fields and drop them onto the Detail band in the Field list.
8. Define a currency format for the **UnitPrice** cell. Select the cell and click the **Text Format String** property's ellipsis button. Select the appropriate format in the invoked **Format String Editor** editor and click **OK**.
9. To further improve the table readability, you can apply different visual styles to its odd and even rows. See [Report Visual Styles](../customize-appearance/report-visual-styles.md) to learn more.
43
+
9. To further improve table readability, you can apply different visual styles to odd and even rows. See [Report Visual Styles](../customize-appearance/report-visual-styles.md) to learn more.
See the [Use Tables](../use-report-elements/use-tables.md) section to learn how to add or remove the table's rows and cells, as well as convert the table's cells to separate label controls.
46
46
47
-
Switch to [Print Preview](../preview-print-and-export-reports.md) to see the resulting report.
47
+
See the [Use Tables](../use-report-elements/use-tables.md) section to learn how to add or remove table rows and cells, and how to convert table cells to separate label controls.
48
+
49
+
50
+
Switch to [Print Preview](../preview-print-and-export-reports.md) to see the generated report.
To select multiple fields, click them with holding the CTRL or SHIFT key. Dropping these fields onto a report creates a new table with its cells bound to the corresponding fields.
55
+
To select multiple fields, click them while pressing the `Ctrl` or `Shift` key. Dropping these fields onto a report creates a new table with its cells bound to corresponding fields.
Select multiple data fields, a query, or a table in the Field List. Hold `Shift` when you drag the fields and drop them onto the report design area. This creates a data table with data field names.
Copy file name to clipboardExpand all lines: reporting-for-web/articles/report-designer/use-report-elements/bind-controls-to-data.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ author: Anna Vekhina
4
4
---
5
5
# Bind Report Controls to Data
6
6
7
-
You can use the following approaches to include a data source's information in your report:
7
+
You can use the following approaches to include data source information in your report:
8
8
9
9
*[Use the Field List](#use-the-field-list)
10
10
*[Use the Properties Panel](#use-the-properties-panel)
11
11
12
12
## Use the Field List
13
13
14
-
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source's hierarchy and provides access to the available data fields.
14
+
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source hierarchy and provides access to available data fields.
15
15
16
16
Drop a data field from this panel onto a report's surface to create a new report control bound to the corresponding field.
17
17
@@ -21,14 +21,18 @@ Drop a data field onto an existing control to bind this control to the correspon
You can also drop an entire data table onto a report to create a [Table](../use-report-elements/use-tables.md) control with its cells bound to the corresponding data table fields.
24
+
You can also drop an entire data table onto a report to create a [Table](../use-report-elements/use-tables.md) control with its cells bound to corresponding data table fields.
Select multiple data fields, a query, or a table in the Field List. Hold `Shift` when you drag the fields and drop them onto the report design area. This creates a data table with data field names.
Select a report control and switch to the [Properties](../report-designer-tools/ui-panels/properties-panel.md) panel. Click the **Text** property's marker and select **Text Expression** from the popup menu. Select a data field or construct a binding [expression](../use-expressions/expression-language.md) in the invoked [Expression Editor](../report-designer-tools/expression-editor.md).
0 commit comments