How to Export the Grid in OlapClient using Code behind
The OlapGrid in the OlapClient can be exported to Excel, PDF, Word. This can be achieved by using the following code snippet.
C#
// Exporting OlapGrid to Excel in OlapClient this.olapClient1.ExportToExcel(); // Exporting OlapGrid to PDF in OlapClient this.olapClient1.ExportToPdf(); // Exporting OlapGrid to Word in OlapClient this.olapClient1.ExportToWord();
VB
' Exporting OlapGrid to Excel in OlapClient Me.olapClient1.ExportToExcel() ' Exporting OlapGrid to Word in OlapClient Me.olapClient1.ExportToWord() ' Exporting OlapGrid to PDF in OlapClient Me.olapClient1.ExportToPdf()