Search code examples
c#asp.net-mvcrdlcdynamic-rdlc-generation

RDLC - display list of objects on rdlc report


I would like to display list of objects in my report contain in dataset.

Example. MyDataSet has:

List<StudentAddress> {get; set;}

So how could I able to display StudentAddress in my report which is a report.

Thanks..


Solution

  • I had the same problem.

    The solution I found is the following one Reporting against a domain model.

    From the documentation I found ssrs does not support a nested list of object. like what you are looking for.

    What is possible is to use a nested object let's say instead of the list you have

    public Address StudentAddress {get; set;} 
    

    for this you have to decalre the classes as Serializable. Here you have another link that explains that

    ReportViewer - object datasource, nested objects return

    I hope the nested list feature will be implemented soon.