How can add I rownumbers for each group on a RDLC Report?

前端 未结 2 688
误落风尘
误落风尘 2021-02-10 00:23

How can ı add row numbers like this:

GROUP 1

RowNumber ID Name Age

1            231     test     43
2            32         


        
2条回答
  •  别那么骄傲
    2021-02-10 00:42

    RDLCs have a RowNumber("ScopeName") Function. This will return the row number of the record within the given scope.

    You can see the existing groups for the report below the designer under a "Row Groups" and "Column Groups" headers. Select the column inside the grouping where you want the row number and view the Row Columns, The default names will be:

    [(Group1)
     ≡(Details1)
    

    Set the expression for the Row Number column to be

    =RowNumber("Group1")
    

提交回复
热议问题