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++)
{
ReportViewer1.LocalReport.DataSources.Add(ReportDataSource[i]);
}