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. DataGridView Binding.(Takes along time to load)

DataGridView Binding.(Takes along time to load)

Scheduled Pinned Locked Moved C#
databasewpfwcfhelpquestion
2 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.
  • S Offline
    S Offline
    Said Ali Jalali
    wrote on last edited by
    #1

    Hi everyOne. I have dataGridView in my project whitch is Bind to my dataBase (Student's Table).After 3 months that the user has Saved around 3,000 rows in that table Now when they open that form with 3,000 Rows in Student's table it takes along time to load the form(Form become white). What should i do to run that form without any problem and Quickly? Thank u.

    CanI

    H 1 Reply Last reply
    0
    • S Said Ali Jalali

      Hi everyOne. I have dataGridView in my project whitch is Bind to my dataBase (Student's Table).After 3 months that the user has Saved around 3,000 rows in that table Now when they open that form with 3,000 Rows in Student's table it takes along time to load the form(Form become white). What should i do to run that form without any problem and Quickly? Thank u.

      CanI

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      You need to filter what is retrieved and or displayed. To filter what is retrieved, put a WHERE clause in the SELECT statement, to limit it to students whose name begins with 'A', for example. then allow the users to hit a 'Next' or 'Previous' button to move from the 'A's to the 'B's and vice versa. Or by their Major, or whatever. To Filter what is displayed, the BindingSource has a Filter property that you can use to get a similar effect. Hope this helps! :)

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      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