Articles in this section
Category / Section

How to save the OLAP Report (.xml) programmatically?

1 min read

You can save the OLAP Report (*.xml) programmatically through code-behind and refer to the following code examples.


protected void Page_Load(object sender, EventArgs e)
    if (!IsPostBack)
        string connectionString = "Enter a valid connection string";
        DataManager = new OlapDataManager(connectionString);
        this.OlapClient1.OlapDataManager = DataManager;
protected void Button1_Click(object sender, EventArgs e)



Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
                If (Not IsPostBack) Then
                                Dim connectionString As String = "Enter a valid connection string"
                                DataManager = New OlapDataManager(connectionString)
                                Me.OlapClient1.OlapDataManager = DataManager
                End If
End Sub
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
End Sub


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