Tuesday, July 12, 2011

How to create Sr No in GridView

Add a TemplateField and inside ItemTemplate put

<%# Container.DataItemIndex + 1 %>

No comments:

Post a Comment