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. Binding records taking more time with paging

Binding records taking more time with paging

Scheduled Pinned Locked Moved ASP.NET
wpfwcftutorial
5 Posts 5 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.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi good morning to all..., I have a lakhs of records in my table..., i am binding this values in my repeater control with paging concept (pageddatasource)..., But i feel its taking more time to bind..., how to face this probs..., give me ur suggestions...,

    Thanks & Regards, Member 3879881, please don't forget to vote on the post

    V B P A 4 Replies Last reply
    0
    • M Member 3879881

      Hi good morning to all..., I have a lakhs of records in my table..., i am binding this values in my repeater control with paging concept (pageddatasource)..., But i feel its taking more time to bind..., how to face this probs..., give me ur suggestions...,

      Thanks & Regards, Member 3879881, please don't forget to vote on the post

      V Offline
      V Offline
      Viral Upadhyay
      wrote on last edited by
      #2

      If you lakhs of records then i will suggest you to make paging in your database. i.e. fetch as much record as needed like if you display 10 records at time then only fetch 10 records from database.

      Viral My Site
      Save Our Tigers

      1 Reply Last reply
      0
      • M Member 3879881

        Hi good morning to all..., I have a lakhs of records in my table..., i am binding this values in my repeater control with paging concept (pageddatasource)..., But i feel its taking more time to bind..., how to face this probs..., give me ur suggestions...,

        Thanks & Regards, Member 3879881, please don't forget to vote on the post

        B Offline
        B Offline
        Brij
        wrote on last edited by
        #3

        As Viral suggested,It will be better if you do the paging at database end itself.

        Cheers!! Brij

        1 Reply Last reply
        0
        • M Member 3879881

          Hi good morning to all..., I have a lakhs of records in my table..., i am binding this values in my repeater control with paging concept (pageddatasource)..., But i feel its taking more time to bind..., how to face this probs..., give me ur suggestions...,

          Thanks & Regards, Member 3879881, please don't forget to vote on the post

          P Offline
          P Offline
          Pranay Rana
          wrote on last edited by
          #4

          check this article in which paging done on database side ASP.NET Extended Grid Control[^]

          1 Reply Last reply
          0
          • M Member 3879881

            Hi good morning to all..., I have a lakhs of records in my table..., i am binding this values in my repeater control with paging concept (pageddatasource)..., But i feel its taking more time to bind..., how to face this probs..., give me ur suggestions...,

            Thanks & Regards, Member 3879881, please don't forget to vote on the post

            A Offline
            A Offline
            Amit M patel
            wrote on last edited by
            #5

            Yes I am also agree with previous answers, in your case you need to do paging in your database side and each paging time you need to bind grid with new fatched from DB. For paging in Database you can use below logic

            select top x * from dbo.EmpDetails where ID not in (select top (x*(p-1))ID from dbo.EmpDetails order by ID)
            order by ID

            Here X = No records per Page P = Page no.

            With Regards, Amit Patel 91-9328488961 India

            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