Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get page number value in body.
I tried for Global.pageNumber, but it works only in footer and header. and also i wrote custom code but it always shows page 1-1 .
and also i tried for ReportItems!Field.Value but it works only for body to footer.

My custom code is

Public Function PageNumber() as String
Return Me.Report.Globals!PageNumber.ToString()
End Function

Public Function TotalPages() as String
Dim str as String
str = Me.Report.Globals!TotalPages.ToString()
Return str
End Function
Posted

1 solution

Found this on google maybe it will help you

How to get Page number in report body in RDLC[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900