This example demonstrates how to add connection settings to the Adventure Works cube on the OLAP server.
To bind the Pivot Grid control to an OLAP cube, follow the steps below.
- Set the PivotGridControl.OLAPDataProvider property to ADOMD.
- Specify connection settings in the PivotGridControl.OLAPConnectionString property. The following connection string is used in this example:
Note that a valid connection string should include the following parameters: Provider, Data Source, Initial Catalog, and Cube Name.
OLAPConnectionString = "Data Source=http://demos.devexpress.com/Services/OLAP/msmdpump.dll;" + "Initial Catalog=Adventure Works DW Standard Edition;Cube Name=Adventure Works;"
- Pivot Grid for WinForms - How to Connect the Pivot Grid to an OLAP Data Source
- Pivot Grid for WinForms - Bind to an OLAP Cube with the XMLA Data Provider
- WPF Pivot Grid - Bind a PivotGrid to an OLAP Cube (.NET 6.0)
- ASP.NET Pivot Grid - Bind a Pivot Grid to an OLAP Cube at Design Time
(you will be redirected to DevExpress.com to submit your response)