Dynamic List ForReport

Posts   
 
    
Bruce
User
Posts: 61
Joined: 18-May-2006
# Posted on: 06-Sep-2006 10:18:56   

I have programmed a Dynamic List to use as the data source for a report.

I use Developer Express XtraReports. With this application, you can drop a Collection or a Typed List onto the Designer then make it the DataSource for the Report. Once that is done then you can use the mouse to drop entity fields onto the labels or table cells in the report and the designer does the programming.

I'm wondering if there is some way that I can embed the Dynamic list into a Class (or something) so that I can manipulate its entity fields in the Designer as above.

A similar issue would arise in trying to use a Dynamic List in a grid where the fields automatically become available in the Designer once the grid is bound to the DataSource.

Any suggestions welcome!

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 06-Sep-2006 15:04:14   

I don't think that's possible.

But if your dynamic list are not that dynamic, I mean it has fixed number of defined columns, you may generate a typed list that looks like it, and then use it in design time, then after you might change the datasource to use the dynamic created list at runtime (in the code behind)