1

如何在网格视图中显示 SSAS Cube ADOMD 单元集?

这是我当前的代码,但是,它将所有 3 列合并为一列

例如

而不是显示

col1    col2
1         a
2         b
3         c

它正在显示

formatted text
1
a
2
b
3
c

我该如何纠正?这是我的代码:OLAPCellset = OLAPCMD.ExecuteCellSet()

        grd1.AutoGenerateColumns = True
        grd1.DataSource = OLAPCellset.Cells
        grd1.DataBind()
4

0 回答 0