Articles in this section
Category / Section

How to Load a report file from a saved xml file in OlapGrid

1 min read

 

You can load the saved report in OLAP Grid. The following code will illustrate how to load the saved xml report file in OLAP Grid.

 

C#

 

 
OlapDataManager olapDataManager = new OlapDataManager("Data  source=localhost; Initial Catalog=Adventure Works DW");
this.olapGrid.OlapDataManager = olapDataManager;
 this.olapGrid.olapDataManager.LoadReportDefinitionFile
 (@”C:\SampleReport\SalesReport.xml");
this.olapGrid.olapDataManager.LoadReport(”Report 1");

 

VB

 
 
 Dim olapDataManager As OlapDataManager = New OlapDataManager
 ("Data    source=localhost; Initial Catalog=Adventure Works DW")
 Me.olapGrid.OlapDataManager = olapDataManager
 Me.olapGrid.olapDataManager.LoadReportDefinitionFile
(”C:\SamnpleReport\SalesReport.xml")
 Me.olapGrid.olapDataManager.LoadReport(”Report 1")
 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied