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. General Programming
  3. C#
  4. Pausing Reception of Data

Pausing Reception of Data

Scheduled Pinned Locked Moved C#
csharpquestioncareer
3 Posts 3 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.
  • L Offline
    L Offline
    Liagapi
    wrote on last edited by
    #1

    Hi all, suppose I've queried a data source and let's say 10 thousand records are supposed to come back. If I want to pause the reception of the data at a particular record and then resume the data reception on button click is there a way to do this using C#? Thanks in advance.

    D L 2 Replies Last reply
    0
    • L Liagapi

      Hi all, suppose I've queried a data source and let's say 10 thousand records are supposed to come back. If I want to pause the reception of the data at a particular record and then resume the data reception on button click is there a way to do this using C#? Thanks in advance.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Unless you're using a DataReader, no there isn't. Unless you doing processing on all those records, returning 10,000 records to display them is just stupid. Use paging instead so you're not sitting around waiting for that many records to load and be bound to a visual control.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • L Liagapi

        Hi all, suppose I've queried a data source and let's say 10 thousand records are supposed to come back. If I want to pause the reception of the data at a particular record and then resume the data reception on button click is there a way to do this using C#? Thanks in advance.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Besides "paging", the other keyword here is "virtualization" (often used in the context of list and grid controls)

        "(I) am amazed to see myself here rather than there ... now rather than then". ― Blaise Pascal

        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