Feature Post

Top

ASP.NET: Add serial number column in GridView

ASP.NET: Add a serial number in GridView
1. Add a template field tag in your GridView markup
2. Add Container.DataItemIndex + 1 code
3. Enjoy



<%#Container.DataItemIndex+1 %>



Happy coding!

No comments