Showing posts with label Serial No in Gridview. Show all posts
Showing posts with label Serial No in Gridview. Show all posts

Tuesday, July 15, 2014

Serial No in Gridview

<asp:TemplateField>
  <ItemTemplate>
   <table class="style2">
       <tr>
      <td>
        <%#Container.DataItemIndex+1 %>
     </td>
    </tr>
   </table>
 </ItemTemplate>
</asp:TemplateField>