Use XmlaDataProvider in KetticPivotGrid in C#.NET
The users of the control are able to populate the KetticPivotGrid control with data from OLAP data sources by using the XmlaDataProvider. The XMLA provides the access for the client applications to communicate to OLAP data sources. The XmlaDataProvider of KetticPivotGrid is used to connect your .NET Windows application to the OLAP data sources. In this tutorial, we shall go through the procedures of using the XmlaDataProvider to bind KetticPivotGrid to OLAP data in C#.NET.
Significant Properties of XmlaDataProvider for PivotGrid
When we want to access data from OLAP data sources, we shall define the significant properties of XmlaDataProvider in advance as below.
Define XmlaDataProvider and Connect to OLAP Cube
In order to display data in KetticPivotGrid and KetticPivotFieldList, the users of the control need to connect the KetticPivotGrid control to OLAP Cube and they can also use the credentials to set username and password to the connection. The C# code below demonstrates how to modify the ConnectionSettings property of the XmlaDataProvider to connect to OLAP Cube in .NET applications.
Define Group Descriptions in XmlaDataProvider for PivotGrid
KetticPivotGrid control contains three different description collections to store data for the XmlaDataProvider to display in KetticPivotGrid and KetticPivotFieldList, including RowGroupDescription, ColumnGroupDescription, and AggregateDescriptions collections.
The XmlaGroupDescription defines the data displaying in Rows and Columns in KetticPivotGrid. The XmlaGroupDescription contains the MemberName property for the users to set the string according to the OLAP Cube. In addition, the MemberName property includes specific syntax to access the data of OLAP Cube.
The XmlaAggregateDescription defines the data aggregated and displayed in cells in KetticPivotGrid. The XmlaAggregateDescription contains the MemberName property for the users to set the data that will be aggregated. | ![]() UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlPivotGrid - StructurePivotGrid - Property BuilderPivotGrid - Populating with DataDesign Time Data BindingUse DataSource PropertyLocal Source DataUse the AdoMDDataProviderUse XMLA Data ProviderPivotGrid - Layout SettingsPivotGrid - Format AppearancePivotGrid - Binding with ChartPivotGrid - FilteringReport FilterGroup FilterPivotGrid - SortingPivotGrid - Printing SupportPrinting styleCustomizationPivotGrid - DialogsCustomizationWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |