I have a CSLA list class that is inherited from:
BusinessListBase
Now I wan't to pass this list somehow to crystal report document.
So I have tried this:
reportDocument1.SetDataSource(cslaListOfObjects);
But I get error that crystal report can't receive nullable parameters.
And also when I create crystal report I don't know how to set fields on report. Because I don't know what to put as data source type.
So I wonder is it possible to somehow pass this list to CR and made it to work?
Hi!
I never did this with Crystal Reports but used CSLA along with SQL Reporting Services and it makes a nice mix. I can reuse my business rules to calculate values, create a list of dto's from my BO's and I bind the dtos to the report using an XML data source.
Hope this helps!
Etienne
Hi,
Thanks for direction. When you make a dto from business object do you use some tool to generate XML or you write it all manually?
Hi!
We generate dto's using CodeSmith with our own templates.
Good luck!
Copyright (c) Marimer LLC