ADOMD.net Samples - Get Cube Data as CellSet

Publié le par Renaud Harduin

EN : Instead ogf having a flat representation of Dataset, you can get your data as a CellSet wich represent your md data

FR : Plutôt que d'avoir une représentation plate des données avec le Dataset il est plus interessant d'utiliser un CellSet 

public CellSet getCellSet(string p_mdxQuery)
{
    CellSet m_cs;
    AdomdCommand m_cmd = new AdomdCommand(p_mdxQuery, _mdConn);
    m_cs = m_cmd.ExecuteCellSet();

    return m_cs;
}

EN : Used with a DataGridView, you can get that kind of presentation

FR : Utilisé avec le DataGridView, vous pourrez obtenir ce type de réprésentation

Publicité
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article