ASP.NET DataGrid web control is one of the simplest way to display the data. This article explains how to add functionality to add a counter column to the DataGrid. In short the article is about displaying the count for each row in the DataGrid .
The solution is as follows.Create a webform with a DataGrid control :
C# Corner. All contents are copyright of their authors.