title: How to use DMX query by ADOMD.NET
body: <p>I have built a Analysis Services and apply Data Mining by Bussness Intelligent Development Studio. Now i have a prediction query as the follows:</p>
  
  <pre><code>SELECT
    PredictAssociation([Association].[v User Subscribe Product], INCLUDE_STATISTICS, 3)
  From
    [Association]
  NATURAL PREDICTION JOIN
  (SELECT (SELECT 'Ipad 1' AS [Product Name]
    UNION SELECT 'Ipad 2' AS [Product Name]
    UNION SELECT 'Iphone 3GS' AS [Product Name]
    UNION SELECT 'Iphone 5C' AS [Product Name]) AS [v User Subscribe Product]) AS t
  </code></pre>
  
  <p>And my result view in SQL Management Studio as the follows:</p>
  
  <p><img src="https://i.stack.imgur.com/p7rZR.png" alt="enter image description here"></p>
  
  <p>I using ADOMD.NET to get the READER the show on my application. My code as the belows:</p>
  
  <pre><code>var command = new AdomdCommand(DMXQuery, SqlConnectionHelper.GetConnectionSSAS());
  var reader = command.ExecuteReader();
  </code></pre>
  
  <p>Every things is going to be ok. Reader execute still ok. But i don't know how to get "PRODUCT NAME" exactly. Reader included it, but i dont know how to get.</p>
  
  <p>Does is anybody know this?</p>
  
  <p>Tks for advance.</p>