简体   繁体   中英

SSRS multi page report

I have to generate a SSRS multiple page report. I have a list "data" and have to do following.
data contains name, salary and address

data[0] = abc,1000,def
data[1] = pqr,2000,xyz

for(int i =0; i<data.Count; i++)
{    
   //when the value of i is 0 information must be printed on 1st page.
   //when value of is 1 information must be printed on 2nd page and so on...
}

What I believe you are looking for is a for loop construct like so:

for (int i = 0; i < data.Length;)
{
    int page = ++i;

    // Write the data on the page in the int variable above.
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM