Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

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

$
0
0

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]);
}


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>