G guy Jan 11, 2004 #1 can anyone please tell me how to connect to OLAP database using c# ? thanks Guy
W William Ryan Jan 11, 2004 #2 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
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