How to display correct page number in body of ssrs(In every page of the output)
<p>i Placed this code in my report property code</p>

<pre><code>Public Function PageNumber() as String
     Dim str as String
     str = Me.Report.Globals!PageNumber.ToString()
     Return str
End Function
</code></pre>

<p>and called in my text box in body of report  Like this</p>

<pre><code> =Code.PageNumber()
</code></pre>

<p>It was not able to repeat textbox on each page. 
It is showing the <strong>page number as 1</strong> only on first page.</p>

<p>need to show <strong>pagenumber</strong> in each page of the output in body of the report</p>

<p>Kindly help me on this if u have any solution.</p>