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. Working with large datasets and filtering

Working with large datasets and filtering

Scheduled Pinned Locked Moved ASP.NET
databasehelpcss
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
    Member 4382232
    wrote on last edited by
    #1

    Hi, I have a gridview control and a radiobuttonlist with 4 options. Each option applies a different Rowfilter (one of them is "All data") to the dataset.Tables[0].DefaultView Rowfilter and then the grid is bound to the filtered dataview. On the localhost the app run 100%, as soon as I publish the app I get a "Internet Explorer cannot display the webpage" error on the radiobuttonlist_selectedindexchanged event. The dataset returned from the sql db can be very large 10000+ records (even after I added a number of parameters to reduce the result, I cannot apply more paramaters therefore I'll have to get a way to display and filter that amount of data) Any help would be much appreciated. Thanx

    N 1 Reply Last reply
    0
    • M Member 4382232

      Hi, I have a gridview control and a radiobuttonlist with 4 options. Each option applies a different Rowfilter (one of them is "All data") to the dataset.Tables[0].DefaultView Rowfilter and then the grid is bound to the filtered dataview. On the localhost the app run 100%, as soon as I publish the app I get a "Internet Explorer cannot display the webpage" error on the radiobuttonlist_selectedindexchanged event. The dataset returned from the sql db can be very large 10000+ records (even after I added a number of parameters to reduce the result, I cannot apply more paramaters therefore I'll have to get a way to display and filter that amount of data) Any help would be much appreciated. Thanx

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You are trying to display 10,000+ records all at once? :omg: Have you thought about Paging?


      only two letters away from being an asset

      M 1 Reply Last reply
      0
      • N Not Active

        You are trying to display 10,000+ records all at once? :omg: Have you thought about Paging?


        only two letters away from being an asset

        M Offline
        M Offline
        Member 4382232
        wrote on last edited by
        #3

        Yeas, I do use paging: pagesize: 20. At first I read all data in at once saved it in session and the rebind on pageindexchanging to the session object. I got the same error. Then I changed the code to alter the sqlcommand on the rbl_selectedindexchanging event and read only the data from the database for the selected error. Then on pageindexchanging the sql command is executed again. Still the same error.

        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