Display Serial Number (Row Number) in RDLC Report

Last Reply on Apr 23, 2015 07:22 AM By Mudassar

Posted on Apr 23, 2015 01:33 AM

Hi! I want to use RDLC report, But i want before first column be row number (serial number) in RDLC ReportViewer.

Example                     

Current Report

First name Last name Birthday
First name Last name Birthday
First name Last name Birthday

 

Expected Report

1. First name Last name Birthday
2. First name Last name Birthday
3. First name Last name Birthday
You are viewing reply posted by: Mudassar on Apr 23, 2015 07:22 AM.
Posted on Apr 23, 2015 07:22 AM Modified on on Apr 23, 2015 07:23 AM

You need to follow the following steps to add serial (row) number to the RDLC report.

1. Right Click first column and click Insert Column => Left.

2. Double click and add suitable Header to the column.

3. Right click the first cell and click Expression from context menu.

4. In the Expression dialog, expand Common Functions and select Miscellaneous and then select RowNumber and type the expression as show below and click OK.

5. Now you run the report and you will see the row numbers.