devxlogo

Displaying Row Numbers in a DataGrid

Displaying Row Numbers in a DataGrid

To display row numbers in an ASP.NET DataGrid, first create a template column and set its ItemTemplate value using the following code:

            

devx-admin

Share the Post: