add row count devepxress report

Code Example - add row count devepxress report

                
                        int counter = 0;
        private void lblCount_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            counter++;
            lblCount.Text = counter.ToString();
        }