Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. i want show page numbers in bottom of the page like <1 2 3 4 5.......10 11 12> but it shows <1 2 3 4 5 6 to total>

i want show page numbers in bottom of the page like <1 2 3 4 5.......10 11 12> but it shows <1 2 3 4 5 6 to total>

Scheduled Pinned Locked Moved ASP.NET
docker
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 13412578
    wrote on last edited by
    #1

    This my aspx code

                **Our Tutors List**
                    Name: <%#DataBinder.Eval(Container.DataItem, "FirstName")%>  <%#DataBinder.Eval(Container.DataItem, "LastName")%>
                            <%--Mobile:        <%#DataBinder.Eval(Container.DataItem, "MobileNo")%>    
                               Email Id:     <%#DataBinder.Eval(Container.DataItem, "EmailId")%>    --%>
                                
    
                            
    
                            
    
                                
    
                               Qualification:    <%#DataBinder.Eval(Container.DataItem, "Qualification")%>            
                                  Experience:  <%#DataBinder.Eval(Container.DataItem, "Experience")%>
                                     
                                
    
                            
    
                            
    
                                
    
                                    Subjects:
                                    <%#DataBinder.Eval(Container.DataItem, "Subjects")%>            
                                    <%--Created Date: <%#DataBinder.Eval(Container.DataItem, "CreatedDate")%>--%>
                                
    
                            
    
                             
    
                                
    
                                    Locations:
                                    <%#DataBinder.Eval(Container.DataItem, "Location")%>
    
    Richard DeemingR 1 Reply Last reply
    0
    • U User 13412578

      This my aspx code

                  **Our Tutors List**
                      Name: <%#DataBinder.Eval(Container.DataItem, "FirstName")%>  <%#DataBinder.Eval(Container.DataItem, "LastName")%>
                              <%--Mobile:        <%#DataBinder.Eval(Container.DataItem, "MobileNo")%>    
                                 Email Id:     <%#DataBinder.Eval(Container.DataItem, "EmailId")%>    --%>
                                  
      
                              
      
                              
      
                                  
      
                                 Qualification:    <%#DataBinder.Eval(Container.DataItem, "Qualification")%>            
                                    Experience:  <%#DataBinder.Eval(Container.DataItem, "Experience")%>
                                       
                                  
      
                              
      
                              
      
                                  
      
                                      Subjects:
                                      <%#DataBinder.Eval(Container.DataItem, "Subjects")%>            
                                      <%--Created Date: <%#DataBinder.Eval(Container.DataItem, "CreatedDate")%>--%>
                                  
      
                              
      
                               
      
                                  
      
                                      Locations:
                                      <%#DataBinder.Eval(Container.DataItem, "Location")%>
      
      Richard DeemingR Online
      Richard DeemingR Online
      Richard Deeming
      wrote on last edited by
      #2

      Things would be so much easier if you used the built-in controls. :) DataPager Class (System.Web.UI.WebControls) | Microsoft Docs[^] ListView Class (System.Web.UI.WebControls) | Microsoft Docs[^] If you want to continue with your custom paging, you'll need to modify your doPaging method to only add rows for the page numbers you want to display.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups