Show each data on separate Report page using ReportViewer in asp.net RRS feed

  • Question

  • User-2082460324 posted

    I am working on reports and I have to show each person data(ReportDataSource) on a separate page I have written a code in that gets each person data from database and sets but when I set ReportDataSource with that data it shows only last record replacing all the previous rather than adding new page to show 2nd record and so on.. Can anyone please guide me to have each record on separate page in report.

    Code is like just for instance for adding ReportDataSource for each person

    for (int i = 0; i < Person.length; i++)

    Friday, April 17, 2015 8:51 AM


  • User-2082460324 posted

    finally I got the solution

    problem was that it shows only record in the report viewer control but there are more than one record. so it should display in as 1 page per record

    so I just dragged all controls in a List control

    simply put all control of Report into a List

    then it would work fine

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 18, 2015 3:35 AM