文档半岛外围网上直营>>FastReport中文文档>>示例 2.从上到下打印带有重复行的表格
示例 2.从上到下打印带有重复行的表格
private void Table1_ManualBuild(object sender, EventArgs e)
{
// Printing row 0 and all of its columns
Table1.PrintRow(0);
Table1.PrintColumns();
// Printing 3 copies of row 1 and all of its columns
for (int i = 0; i < 3; i++)
{
Table1.PrintRow(1);
Table1.PrintColumns();
}
// printing row 2 and all of its columns
Table1.PrintRow(2);
Table1.PrintColumns();
}
在本例中,中间一行被打印 3 次。结果如下

QQ交谈
在线咨询

渝公网安备
50010702500608号

客服热线