0
kicks
Auto Numbering Column in GridView or DataList
Several times we need to display Auto Number or serial number for displaying records in gridview or other similar controls in ASp.NET.
We can add AutoNumber column by using Container.DataItemIndex property in html markup of the Gridview.