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
"guy" <bo*****@bigfoot.com> wrote in message
news:Ok*************@TK2MSFTNGP11.phx.gbl...
can anyone please tell me how to connect to OLAP database using c# ?
thanks
Guy