Link to home
Start Free TrialLog in
Avatar of CeliaOblinger
CeliaOblinger

asked on

Dynamically Assign List<Of whatever> as ReportViewer DataSource

I am creating .RDLC code via the RDLObjectModel - and I want to define a List<Of whatever> business object as the report's DataSource.

Can anyone please point me in the right direction on this?

Many thanks in advance.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

I don't understand your question.  Are you saying that you are generating the .rdlc XML in code?
Avatar of CeliaOblinger
CeliaOblinger

ASKER

Yes, I am programming against Microsoft.ReportingServices.RDLObjectModel - and the XML .RDLC code is created serialized to a physical temp file.

Then, this programmatically generated assigned as the .RDLC file for the ReportViewer.

What I don't know how to do, with RDLObjectModel is specify the DataSource as an object of type List<Of whatever>.

Hope you can help - thannjks!
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.