HighTechTalks DotNet Forums  

Running data binding in the background

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Running data binding in the background in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
TnCoder
 
Posts: n/a

Default Running data binding in the background - 10-11-2005 , 10:50 AM






Hi;
I have an application that is using vb.net on a windows ce device. I am
binding a large amount of records (10k+) to a combobox. It takes forever to
load. Currently I am binding the data at startup of the application. What I
would like to do is have the application start and let the user be doing
other things in the program while this one combobox loads. The combobox
itself isn't used often, so I could get by without loading it at startup.

Any ideas? Thanks in advace for the help

Dale



Reply With Quote
  #2  
Old   
Jim Underwood
 
Posts: n/a

Default Re: Running data binding in the background - 11-03-2005 , 09:35 AM






My advice? Dont use a combo box for over 100 records (even that is pushing
it). A combo box is a poor tool for displaying large numbers of items.
With that many it becomes virtually unusable. If the user need to select
between 10,000 items then query the database when the user needs the data,
and let the user search for a record by specifying a search string.
Especially for soemthign that isnt used often.


"TnCoder" <TnCoder (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi;
I have an application that is using vb.net on a windows ce device. I am
binding a large amount of records (10k+) to a combobox. It takes forever
to
load. Currently I am binding the data at startup of the application. What
I
would like to do is have the application start and let the user be doing
other things in the program while this one combobox loads. The combobox
itself isn't used often, so I could get by without loading it at startup.

Any ideas? Thanks in advace for the help

Dale





Reply With Quote
  #3  
Old   
TnCoder
 
Posts: n/a

Default Re: Running data binding in the background - 11-03-2005 , 04:05 PM



Jim;

Thanks for the advice. I convinced the business owner to use your
suggestion. The end users now type in the first three characters and I run a
query to populate the combobox with a reasonable number of items.

Thanks again

Dale


"Jim Underwood" wrote:

Quote:
My advice? Dont use a combo box for over 100 records (even that is pushing
it). A combo box is a poor tool for displaying large numbers of items.
With that many it becomes virtually unusable. If the user need to select
between 10,000 items then query the database when the user needs the data,
and let the user search for a record by specifying a search string.
Especially for soemthign that isnt used often.


"TnCoder" <TnCoder (AT) discussions (DOT) microsoft.com> wrote in message
news:FCE56064-6FEB-4144-A227-756767E723EF (AT) microsoft (DOT) com...
Hi;
I have an application that is using vb.net on a windows ce device. I am
binding a large amount of records (10k+) to a combobox. It takes forever
to
load. Currently I am binding the data at startup of the application. What
I
would like to do is have the application start and let the user be doing
other things in the program while this one combobox loads. The combobox
itself isn't used often, so I could get by without loading it at startup.

Any ideas? Thanks in advace for the help

Dale






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.