In this article I am going to explain how to add auto increment serial number in RDLC report.
In the previous article I have explained how to change/alter the text using CSS, ReportViewer Configuration Error and how to create pie chart in asp.net using chartcontrol.
When I am working with RDLC report I have add auto increment serial number (row number). To add row number in report insert column and use expression.
Follow the below given steps to add serial number in RDLC report:
Step 1: Right click on first column, go to Insert column option and select sub options (left/right).
Step 2: After that right click on newly inserted column. Select the expression option. Pop up window will be open.
Step 3: You will be see there are numerous category. Select the Common functions >> Miscellaneous >> rownumber. After that in expression textbox write down rownumber(nothing) and hit the OK button.
Check the attache complete steps screenshot:
Build and run the application.
What do you think about this article?
If you found this article useful, please share and follow on Facebook, Twitter, Google Plus and other social media websites. To get free updates subscribe to newsletter. Please put your thoughts and feedback in comments section.