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. my question comes slow

my question comes slow

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasesysadmin
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.
  • M Offline
    M Offline
    Member 7714559
    wrote on last edited by
    #1

    i have developed a online examination application in asp.net but i faced trouble in examination part when user give exam and then he pressed next button for next question then next question come too late... in this past i stored all question in datatable from database on page load and then show them one by one and its run very well on local host but on server its run too slow and i don't know to show question with another way so plz help me to solve this problem...

    A P 2 Replies Last reply
    0
    • M Member 7714559

      i have developed a online examination application in asp.net but i faced trouble in examination part when user give exam and then he pressed next button for next question then next question come too late... in this past i stored all question in datatable from database on page load and then show them one by one and its run very well on local host but on server its run too slow and i don't know to show question with another way so plz help me to solve this problem...

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      If you are reading directly from the database everytime, try optimizing your database query. On the web page side, the problem could be anything from long running loops to network speeds.

      Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

      1 Reply Last reply
      0
      • M Member 7714559

        i have developed a online examination application in asp.net but i faced trouble in examination part when user give exam and then he pressed next button for next question then next question come too late... in this past i stored all question in datatable from database on page load and then show them one by one and its run very well on local host but on server its run too slow and i don't know to show question with another way so plz help me to solve this problem...

        P Offline
        P Offline
        Pratik Bhuva
        wrote on last edited by
        #3

        Get All data at once in List and display question one by one. And if page is using heavy controls then use jquery/Ajax to update just Questions.this will not invoke postback and your execution time can be reduced. Hope this Help.

        Pratik Bhuva --------------- The night is darkest just before the dawn. And I promise you, the dawn is coming

        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