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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. optimize gridview paging

optimize gridview paging

Scheduled Pinned Locked Moved C#
wpfwcfjsonhelpcode-review
3 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.
  • M Offline
    M Offline
    michael_jhons
    wrote on last edited by
    #1

    hello everybody, here's what i'm doing: 1. i'm retreiving data through API(atom format), 2. i'm storing all retreived data in a datatable, 3. i'm binding this datatable to a gridview the porblem is that these APIs are feeding thousands of records so each time i'm paging i have to go on with all the above steps (1, 2 and 3) this procedure is taking a lot of time i believe there is a faster way to do that , Apreciating any help, Thank you in advance

    T 1 Reply Last reply
    0
    • M michael_jhons

      hello everybody, here's what i'm doing: 1. i'm retreiving data through API(atom format), 2. i'm storing all retreived data in a datatable, 3. i'm binding this datatable to a gridview the porblem is that these APIs are feeding thousands of records so each time i'm paging i have to go on with all the above steps (1, 2 and 3) this procedure is taking a lot of time i believe there is a faster way to do that , Apreciating any help, Thank you in advance

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Here you go Optimized Paging and Sorting in ASP.NET GridView[^]

      thatraja


      **My Tip/Tricks
      My Dad had a Heart Attack on this day so don't...
      **

      M 1 Reply Last reply
      0
      • T thatraja

        Here you go Optimized Paging and Sorting in ASP.NET GridView[^]

        thatraja


        **My Tip/Tricks
        My Dad had a Heart Attack on this day so don't...
        **

        M Offline
        M Offline
        michael_jhons
        wrote on last edited by
        #3

        thank you for your answer, however this method cannot be applied to my project since i can't control the ammount of data record retrieved by the API again the problem is when i postback the page, i have to retrieve again all the data, i have no problem to load at the first time thank you again for your concern

        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