display numbers of rows, index data Container.ItemIndex in listview asp.net c#

Insert This code in listview it will index data and will display numbers on all rows like if you have row one there you can see a number 1 in first row then on second row 2.


<%# Container.ItemIndex + 1 %>

Comments

Popular posts from this blog

Disable right click, Inspect Element and page source using JavaScript in Html and asp.net