How can ı add row numbers like this:
GROUP 1
RowNumber ID Name Age
1 231 test 43
2 32
Right Click on your Report property then go to code then paste the code below
Dim private count as integer = 0
Dim private iniRow as integer = 0
Dim private iniGrp as Object = ""
Public function MatrixRow(Byval rowNum as integer,Byval rowGrp as Object) as integer
if iniGrp = "" then
iniGrp = rowGrp
end if
if rowGrp <> iniGrp then
iniRow = 0
count = 0
iniGrp = rowGrp
end if
if iniRow = 0 then
iniRow = rowNum
end if
if rowNum = iniRow then
count = 0
end if
count = count + 1
Return count
End function
then use this function like
=Code.MatrixRow(RowNumber(Nothing),(YourgroupfiledNameFromDataest))