We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get connection string from an Excel sheet?

Platform: ASP.NET Web Forms (Classic) |
Control: OlapGrid |
Published Date: January 12, 2015 |
Last Revised Date: July 2, 2019

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

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.

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon