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.
CeliaOblingerAsked:
Who is Participating?
 
Bob LearnedConnect With a Mentor Commented:
The binding for a report is done with the ReportDataSource.  You can use a BindingSource, or BindingList<T> to bind the list to the ReportDataSource.
0
 
Bob LearnedCommented:
I don't understand your question.  Are you saying that you are generating the .rdlc XML in code?
0
 
CeliaOblingerAuthor Commented:
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!
0
 
mlmccCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.