Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to Auto Generate Serial Number in ListView?
Posted
Comments
Maciej Los 11-Feb-13 7:19am    
Please, be more specific and provide more details. We can't read your mind...

1 solution

C#
<itemtemplate>
    <%#Container.DataItemIndex+1 %>
</itemtemplate>


Try the above code
 
Share this answer
 
Comments
Maciej Los 11-Feb-13 7:49am    
This is ASP code. I don't see tag: ASP.NET.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900