b7a8c76c99538e620649b61897324f43f2061d5c
API/CodeSamples/VisibleDataSources.md
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | |
| 3 | 3 | [[_TOC_]] |
| 4 | 4 | |
| 5 | -Gets or sets the array of names for tables and views that should be shown in the "Data Sources (Tables and Views)" dropdown in the ReportDesigner on the Data Sources tab. |
|
| 5 | +Gets or sets the array of names for tables and views that should be shown in the "Data Sources (Tables and Views)" dropdown in the ReportDesigner on the Data Sources tab. Setting any values in this list will completely override the normally constructed list of tables and views on a per-user basis. |
|
| 6 | 6 | |
| 7 | 7 | ##Global.asax (C♯) |
| 8 | 8 | ```csharp |
| ... | ... | @@ -49,4 +49,10 @@ Public Class CustomAdHocConfig |
| 49 | 49 | AdHocSettings.VisibleDataSources = New String() {"Datasource1", "Datasource2"} |
| 50 | 50 | End Sub |
| 51 | 51 | End Class |
| 52 | -``` |
|
| ... | ... | \ No newline at end of file |
| 0 | +``` |
|
| 1 | + |
|
| 2 | +##Screenshots |
|
| 3 | + |
|
| 4 | +**AdHocSettings.VisibleDataSources = new string[] { "Products", "Orders", "Customers" };** |
|
| 5 | + |
|
| 6 | +![VisibleDataSources = new string[] {"Products", "Orders", "Customers" };]() |
|
| ... | ... | \ No newline at end of file |