Articles in this section
Category / Section

How to get connection string from an Excel sheet in WPF OlapChart ?

3 mins read

This KB illustrates that how to get connection string from an Excel sheet in WPF OLAPChart.

Solution

You can follow the given steps to get connection string.

Step 1

Open a new Excel sheet.

Step 2

Click Data tab  à From Other Sources à From Analysis Services.

 

connection of SSAS

 

Step 3

The Data Connection Wizard dialog appears. Provide server name in Server Name textbox and click Next.

Note:

When you have credentials to your SQL Server, enter its user name and password accordingly.

Server connection of SSAS

 

Step 4

Select the Cube and click Next.

 

Cube selection

 

Step 5

Finally, click Finish.

 

Server and cube information for connection

 

Step 6

Now, click the Analyze tab à Change Data Source à Connection Properties…

 

Changing datasource

 

Step 7

The Connection Properties window appears. Select the Definition tab and copy the connection string.

 

Connection properties window

 

You can use this connection string in your project or application, holding your OLAP control.


Conclusion

I hope you enjoyed learning about how to get connection string from an Excel sheet in WPF OlapChart.

You can refer to our WPF OlapChart feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF OlapChart to understand how to present and manipulate data.

For current customers, you can check out our WPF Controls from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WPF OlapChart and other WPF controls.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!


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