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. Output Page to Browser During Loop

Output Page to Browser During Loop

Scheduled Pinned Locked Moved ASP.NET
helpquestiondatabase
1 Posts 1 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.
  • J Offline
    J Offline
    Jim Gary
    wrote on last edited by
    #1

    Hi. I hope someone here can answer an odd question to help me solve an odd problem. I've got a form that is to take in a list of id numbers, pasted from a column in an Excel sheet, and find each one's email alias, then display the results. To avoid the hassles of keeping the lists square if there are any "not found" results, I'm calling the database for each id number, then outputting the results into a label. The problem is, when there are only a few, like one or ten, to look up, the time for the extra overhead is no big deal, but when I run the column from the Excel sheet I was given as a sample, there are 289 ids to look up and the page doesn't re-render in the browser for about 20 seconds. That ain't no good.... I've got the list parsed out and the whole thing working "normally" but I need something better. So what I would like the page to do is, get one record, find it, render the page with that result, then get the next, display it on the next line, and so on until done with a nice message for results about how many were searched and how many were found. This way the user would have something to look at while the search was going on and I'd learn something new and cool about PostBack and maybe ViewState. Any ideas? Thanks, Jim

    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