Donate

Simple Pager Template in ASP.NET Web Forms

Here's a simple pager template in ASP.NET Web Forms.
  <PagerTemplate>  
   Page: <%=gvPRocess.PageIndex + 1%> of <%=gvPRocess.PageCount %>  
   <asp:button ID="btnFirst" runat="server" CommandName="Page"   
  CommandArgument="First" Text="<<"/>  
   <asp:button ID="btnPrev" runat = "server" CommandName="Page"   
  CommandArgument="Prev" Text="<"/>  
   <asp:button ID="btnNext" runat = "server" CommandName="Page"   
  CommandArgument="Next" Text=">"/>  
   <asp:button ID="btnLast" runat = "server" CommandName="Page"   
  CommandArgument="Last" Text=">>"/>  
   </PagerTemplate>  

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.

Invalid nested tag div found, expected closing tag input