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. help me about speed of loading data ...

help me about speed of loading data ...

Scheduled Pinned Locked Moved C#
csharpdatabasevisual-studioperformancehelp
4 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.
  • P Offline
    P Offline
    phantanagu
    wrote on last edited by
    #1

    I have a 100MB database of SQLServer. When I made a datagridview using DatagridViewColumnCombox in order that user can choose an item in combobox. When I choose an item, it seems to load data into combobox column. It cause my app running so slowly although this column contains a field about over 1000 records.... Somebody could help me explain why VS.NET uses cache but my app runs slowly I assume that if I made a combo box and then attached it into datagridview, it ưould seem slower. But, I don't know how to do it.... Sorry about my poor English Thanks in advance ...

    It seem to be a solution or an answer.

    C 1 Reply Last reply
    0
    • P phantanagu

      I have a 100MB database of SQLServer. When I made a datagridview using DatagridViewColumnCombox in order that user can choose an item in combobox. When I choose an item, it seems to load data into combobox column. It cause my app running so slowly although this column contains a field about over 1000 records.... Somebody could help me explain why VS.NET uses cache but my app runs slowly I assume that if I made a combo box and then attached it into datagridview, it ưould seem slower. But, I don't know how to do it.... Sorry about my poor English Thanks in advance ...

      It seem to be a solution or an answer.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      phantanagu wrote:

      When I choose an item, it seems to load data into combobox column.

      It *seems* to ? What code have you written, that you're not sure if it does, or not ? If you take the SQL that's being run, and run it in SQL Server, how fast is it ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      P 1 Reply Last reply
      0
      • C Christian Graus

        phantanagu wrote:

        When I choose an item, it seems to load data into combobox column.

        It *seems* to ? What code have you written, that you're not sure if it does, or not ? If you take the SQL that's being run, and run it in SQL Server, how fast is it ?

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        P Offline
        P Offline
        phantanagu
        wrote on last edited by
        #3

        Christian Graus wrote:

        It *seems* to ? What code have you written, that you're not sure if it does, or not ?

        I only assign datasource to combobox column using dataset object,I don't write any code. Because list of items appears slow so I think everytime I select an item in new row, combo box also loads data.

        Christian Graus wrote:

        If you take the SQL that's being run, and run it in SQL Server, how fast is it ?

        I am sure that if I run it in SQLServer, it makes me content with speed. If I use a favourite combox, loading of data is OK. But when using DatagridColumnComboBox, I confuse it...

        It seem to be a solution or an answer.

        S 1 Reply Last reply
        0
        • P phantanagu

          Christian Graus wrote:

          It *seems* to ? What code have you written, that you're not sure if it does, or not ?

          I only assign datasource to combobox column using dataset object,I don't write any code. Because list of items appears slow so I think everytime I select an item in new row, combo box also loads data.

          Christian Graus wrote:

          If you take the SQL that's being run, and run it in SQL Server, how fast is it ?

          I am sure that if I run it in SQLServer, it makes me content with speed. If I use a favourite combox, loading of data is OK. But when using DatagridColumnComboBox, I confuse it...

          It seem to be a solution or an answer.

          S Offline
          S Offline
          Stefan Prodan
          wrote on last edited by
          #4

          Did you write code to load the data or you've drag/drooped in VS.NET a connection/dataset and so on?

          http://stefanprodan.wordpress.com

          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