PageNumber Property (SectionReport)
Returns the number of the current page being processed when a report is running.
public int PageNumber {get;}
'Declaration
Public ReadOnly Property PageNumber As Integer
Property Value
A
System.Int32 value, representing the number of the current page.
private void detail1_Format(object sender, System.EventArgs eArgs)
{
this.textBox1.Text=this.PageNumber.ToString();
}
Private Sub detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
Me.textBox1.Text = Me.PageNumber
End Sub