DMX example in VB.NET
1 answer
There is a way to execute MDX with SQL which I suppose will give you a hidden way to bind the results to the gridview!
select top 100 * from openrowset(
'MSOLAP',
'Datasource=MyDBServerName;Initial catalog=MyCubeName',
'SELECT {dimensions(0).members} on rows,
{time.defaultmember} on columns
from sales'
)
There is a correct way (usually called ADOMD in classic ASP, which gave you a Cellset object that you could work around).
Many people use a third party .NET component like Dundas to display tables and graphs from cube data.
0
source to share