Add AutoNumber to GridView showing the RowNumber | Quickie By Clive Ciappara in #Programming, #Tips and Tricks March 15, 2011 0 Comment The code below will add a column showing an incremental number near each row, which ultimately is the row number <asp:TemplateField> <ItemTemplate> <%# Container.DataItemIndex + 1 %> </ItemTemplate> </asp:TemplateField> Hope this helped 😉