代码之家  ›  专栏  ›  技术社区  ›  Dean

如何使用强类型列表作为Crystal报表的数据源

  •  1
  • Dean  · 技术社区  · 16 年前

    我现在有

    Class A
    
    property x as List (Of Class B)
    
    End Class
    
    Class B
    
    ' some other properties
    End Class
    

    当我创建Crystal Report以使用类A作为数据源时,Field Explorer不显示属性X吗?

    是否可以将强类型列表与Crystal Report一起使用?

    1 回复  |  直到 16 年前
        1
  •  2
  •   Community Mohan Dere    9 年前

    我对列表不是百分之百的确定,但你可以用arraylist代替。请看我对这个问题的回答:

    How to use Crystal Reports without a tightly-linked DB connection?