当我使用Dev Express for SilverLight创建报表时,我想选择一个数据源,但我找不到任何东西。然而,我有许多实体,上下文,..这应该是可接受的数据源。
我遵循了DevExpress文档网站上的教程,但他们使用的数据集并不是我所需要的。
我应该怎么绑定我的数据?
谢谢
发布于 2012-03-19 22:39:37
检查XtraReportBase.DataSource Property以了解您可以提供给报表的数据源。
您也可以将数据作为实体提供,但使用EF几乎不需要更多的工作。
Entity Framework for Report Datasource
Using ADO.NET Entity Data Model as DataSource for XtraReport
作为参考,请查看以下链接:search link
Bind a Report to Data without a Data Source at Design Time
How to: Bind a Report to a List Object at Design Time and Provide Data at Runtime
Report with Parameters filled on runtime in silverlight
Silverlight Reporting
https://stackoverflow.com/questions/9771831
复制相似问题