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

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...