Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 21:35
Geert van Horrik19-Jul-07 21:35 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 21:47
Geert van Horrik19-Jul-07 21:47 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 21:58
Martin#19-Jul-07 21:58 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:29
sitebuilderLuc Pattyn19-Jul-07 3:29 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:33
Geert van Horrik19-Jul-07 3:33 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:51
sitebuilderLuc Pattyn19-Jul-07 3:51 
GeneralRe: Control updating is slow [modified] Pin
Luc Pattyn19-Jul-07 3:09
sitebuilderLuc Pattyn19-Jul-07 3:09 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:27
Geert van Horrik19-Jul-07 3:27 
Thanks for your message and taking the time to help me (same for Martin!).

First about the reader:

When you load everything into a dataset, it must load everything into memory. What I know is that the datareader is the fastest component since it is forward-only and read-only. The dataset is a complete copy of the part of the database which you can edit and update.

Now back to the real problem:

I have a combobox control which loads the db data as soon as I construct the form. So, before I even call the Show form, the combobox already has all the values listed. This process doesn't take very long (about 2 seconds) to list the data from the db and store it in the combobox items property.

However, as soon as I show the form, it takes long (and the items property doesn't get changed anymore at that moment).

That's why I am confused.

-----
Geert

Need an advanced auto-update feature for your software? Try Updater!
Visit my website: http://www.catenalogic.com

GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:40
sitebuilderLuc Pattyn19-Jul-07 3:40 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:45
sitebuilderLuc Pattyn19-Jul-07 3:45 
QuestionHow to unregister an event Pin
t4ure4n19-Jul-07 1:51
t4ure4n19-Jul-07 1:51 
AnswerRe: How to unregister an event Pin
kubben19-Jul-07 2:00
kubben19-Jul-07 2:00 
AnswerRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:01
sitebuilderLuc Pattyn19-Jul-07 2:01 
GeneralRe: How to unregister an event Pin
Dan Neely19-Jul-07 2:19
Dan Neely19-Jul-07 2:19 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:35
sitebuilderLuc Pattyn19-Jul-07 2:35 
GeneralRe: How to unregister an event Pin
Bijesh19-Jul-07 3:56
Bijesh19-Jul-07 3:56 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 5:32
sitebuilderLuc Pattyn19-Jul-07 5:32 
GeneralRe: How to unregister an event Pin
Luc Pattyn24-Jul-07 6:46
sitebuilderLuc Pattyn24-Jul-07 6:46 
GeneralRe: How to unregister an event Pin
Martin#19-Jul-07 2:33
Martin#19-Jul-07 2:33 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:38
sitebuilderLuc Pattyn19-Jul-07 2:38 
GeneralRe: How to unregister an event Pin
Martin#19-Jul-07 2:48
Martin#19-Jul-07 2:48 
AnswerRe: How to unregister an event Pin
b_umika19-Jul-07 2:01
b_umika19-Jul-07 2:01 
QuestionGenerating a program ID Pin
Muntyness19-Jul-07 1:49
Muntyness19-Jul-07 1:49 
AnswerRe: Generating a program ID Pin
ekynox19-Jul-07 2:04
ekynox19-Jul-07 2:04 
AnswerRe: Generating a program ID Pin
Luc Pattyn19-Jul-07 2:04
sitebuilderLuc Pattyn19-Jul-07 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.