Skip to content

Commit 939b0e3

Browse files
author
Eugene Polevikov (DevExpress)
committed
Merge branch 'polevikov-stored-procedures-with-multiple-result-sets' into 21.2
2 parents e02ec03 + 5397a17 commit 939b0e3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

interface-elements-for-desktop/articles/report-designer/report-designer-for-winforms/bind-to-data/bind-a-report-to-a-stored-procedure.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,15 @@ This tutorial demonstrates how to bind a report to a stored procedure provided b
3636
The following image demonstrates the **Data Preview** displaying the resulting data sample. Click **Close** to exit the preview.
3737

3838
![](../../../../images/eurd-win-data-source-wizard-stored-procedure-preview.png)
39+
40+
If a stored procedure returns multiple result tables, the **Data Preview** window displays a drop-down list with all these tables, so you can choose and preview any of them.
41+
42+
![](../../../../images/stored-procedure-with-multiple-data-tables-preview.png)
43+
44+
If a stored procedure accepts query parameters, the procedure is executed with the following parameter values when you click **Preview**:
45+
46+
* If a query parameter value is static, this static value is used.
47+
* If a query parameter value is an expression, the value of this expression is used.
48+
* If a query parameter is mapped to a report parameter, the default value of this report parameter is used.
3949

40-
Click **Finish** to exit the wizard.
50+
Click **Finish** to exit the wizard.
41.4 KB
Loading

0 commit comments

Comments
 (0)