Re: Fast Load?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: buzz (buzz_at_buzz.com)
Date: 08/16/04


Date: Mon, 16 Aug 2004 19:34:40 -0400

John wrote:
> I posted this in the pocketpc.developer newsgroup but maybe this is the
> place to ask....
>
> I have created a VB.NET CE Pocket Pc 2002 application, and I need to load a
> combobox really fast from the SQL CE database...
>
> I have tried the DataAdapter.Fill(Dataset), and also the DataReader While
> Wend.
> They seem to take about the same amount of time to load (a few seconds)
>
> I have Three Tables, Books, Codes, and Book_Codes
>
> Codes is loaded into a Combobox and when the user selects a Code;
> Books Combobox is Loaded: Select * From Books, Book_Codes Where
> Book_Codes.BookID = Books.BookID
>
>
> Any one have a faster way of loading the combobox...
>
>
> Thanks,
>
> JO
>
>
You might want to look at the Redraw method of the combo box. Turn it
off while loading, then turn it back on. May also help with loading
performance.



Relevant Pages

  • Re: Fast Load?
    ... > I posted this in the pocketpc.developer newsgroup but maybe this is the ... > They seem to take about the same amount of time to load ... > Codes is loaded into a Combobox and when the user selects a Code; ...
    (microsoft.public.sqlserver.ce)
  • Fast Load?
    ... They seem to take about the same amount of time to load ... I have Three Tables, Books, Codes, and Book_Codes ... Codes is loaded into a Combobox and when the user selects a Code; ...
    (microsoft.public.sqlserver.ce)
  • combobox, clearing text field problem
    ... i'm loading a combobox from a database in code, ... but i had to put the combobox on a tab page of a tab control. ... either load a combobox in code without setting the text area, ...
    (microsoft.public.dotnet.languages.vb)
  • SQL CE need a faster load...
    ... They seem to take about the same amount of time to load ... I have Three Tables, Books, Codes, and Book_Codes ... Codes is loaded into a Combobox and when the user selects a Code; ...
    (microsoft.public.pocketpc.developer)
  • Re: how to use table in a dataset as data source for combobox?
    ... it takes the combobox a while to load. ... up the loading of the datasource to the combobox. ...
    (microsoft.public.dotnet.languages.vb)