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. how to show large table to viewers???

how to show large table to viewers???

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netperformancehelptutorial
5 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.
  • S Offline
    S Offline
    steven_wong
    wrote on last edited by
    #1

    Hello, everyone: I am a newbie of asp.net. Now i am trying to use a datagrid to show a table with more than 2000 records to the web viewer with asp.net1.1. However, when displaying, it tells me that the process has taken more than 60% of the memory, the system calls back the resouce automatically. Finally the pages goes wrong. In one word, What i am asking is whether there is a good approach to displaying a large table to the user? Is there anyone could help me? Thanks in advance!:rose:

    _ P 2 Replies Last reply
    0
    • S steven_wong

      Hello, everyone: I am a newbie of asp.net. Now i am trying to use a datagrid to show a table with more than 2000 records to the web viewer with asp.net1.1. However, when displaying, it tells me that the process has taken more than 60% of the memory, the system calls back the resouce automatically. Finally the pages goes wrong. In one word, What i am asking is whether there is a good approach to displaying a large table to the user? Is there anyone could help me? Thanks in advance!:rose:

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      You can use paging concept. There you will just show 25 or 50 records initially and then next set of records depending upon the requirement.

      Best Regards, Apurva Kaushal

      S 1 Reply Last reply
      0
      • _ _AK_

        You can use paging concept. There you will just show 25 or 50 records initially and then next set of records depending upon the requirement.

        Best Regards, Apurva Kaushal

        S Offline
        S Offline
        steven_wong
        wrote on last edited by
        #3

        First of all, great thanks to u of replying!:rose: However, i have to store query result in a datatable so that i could print or export these results latter. It is these query resutls that has taken out the resource, i think. Look forward to you further replying...;P

        _ 1 Reply Last reply
        0
        • S steven_wong

          First of all, great thanks to u of replying!:rose: However, i have to store query result in a datatable so that i could print or export these results latter. It is these query resutls that has taken out the resource, i think. Look forward to you further replying...;P

          _ Offline
          _ Offline
          _AK_
          wrote on last edited by
          #4

          If it is required to get all the records in one stretch then also you can get the advantage of datagrid paging. What you need to do is to get the data in dataset and then assign it to the datagrid with paging enabled. Also the same you can have in the datatable. I hope i am understanding you problem correctly.

          Best Regards, Apurva Kaushal

          1 Reply Last reply
          0
          • S steven_wong

            Hello, everyone: I am a newbie of asp.net. Now i am trying to use a datagrid to show a table with more than 2000 records to the web viewer with asp.net1.1. However, when displaying, it tells me that the process has taken more than 60% of the memory, the system calls back the resouce automatically. Finally the pages goes wrong. In one word, What i am asking is whether there is a good approach to displaying a large table to the user? Is there anyone could help me? Thanks in advance!:rose:

            P Offline
            P Offline
            postmaster programmingknowledge com
            wrote on last edited by
            #5

            See an example about datagrid paging at : http://www.programmingknowledge.com/datagridpaging.aspx[^] postmaster

            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