how to generate serial number gridview in asp.net code example
Example: how to set serial number in gridview in asp net
<asp:TemplateField>
<ItemTemplate>
<%#Container.DataItemIndex+1 %>
</ItemTemplate>
</asp:TemplateField>