Sql Server2005 Report Server 技巧

下面分享几个小技巧 1、奇偶行动态背景色 2、分页问题

 行的动态背景色

 步骤1 选择单元格所在行 ,右键属性

 步骤2 在 backgroudcolor中选择【表达式】 =Iif( RowNumber(Nothing) Mod 2, "red", "White")

 预览效果

 分页问题

 步骤1 选择 表格 或者 矩形 ,右键属性

 步骤2  选择【组】选项卡 ,新建组,在表达式中输入  =(RowNumber("table1") - 1)\10

           其中 table1为 表格的名字 ,10为每页显示记录数

步骤3  勾选【在结尾处分页】选项

原文地址:https://www.cnblogs.com/moss_tan_jun/p/1771268.html