Connecting to OLAP database using c#

  • Thread starter Thread starter guy
  • Start date Start date
G

guy

can anyone please tell me how to connect to OLAP database using c# ?

thanks

Guy
 
using (OleDbConection cn =
new OleDbConnection())

cn.ConnectionString =
"Provider=MSOLAP.1;User ID=SomePassword;Password=xxxxxxxxx;Data
Source=ServerName;Initial Catalog=YourCataolg";


Then just open the connection and do your thing...

HTH,

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top