SSRS多页报告

时间:2014-07-15 14:09:39

标签: c# reporting-services

我必须生成SSRS多页报告。我有一个列表“数据”,必须做以下 数据包含姓名,工资和地址

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...
}

1 个答案:

答案 0 :(得分:0)

我相信您正在寻找的是for循环结构,如下所示:

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

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