How can I use strongly typed lists as the datasoru

2019-08-12 02:02发布

问题:

I currently have

Class A

property x as List (Of Class B)

End Class

Class B

' some other properties
End Class

When I create crystal report to use Class A as datasource the field explorer doe snot show property x?

Is it possible to use strongly typed lists with Crystal Report?

回答1:

I'm not 100% sure about List, but you can use ArrayList instead. See my answer on this question:

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