Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4250218
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:29:59+00:00 2026-05-21T04:29:59+00:00

How to speed up a combo box populating speed? Academically speaking, imagine that a

  • 0

How to speed up a combo box populating speed? Academically speaking, imagine that a combox box has 1 billion records to be presented. How would we maximize the speed of the program.
What other methods could I use instead of a combo box to display data?

Here are the details for my particular question:
I am using WPF event handler

<ComboBox Height="24" SelectedIndex="0" HorizontalAlignment="Left" 
 Margin="146,27,0,0" Name="emoployeeUserNameComboBox" VerticalAlignment="Top"
 Width="198" Loaded="emoployeeUserNameComboBox_Loaded"/>

private void emoployeeUserNameComboBox_Loaded(object sender, RoutedEventArgs e) {
    using (ToolboxDataContext dbToolbox = new ToolboxDataContext()) {
        var query = (from x in dbToolbox.DropDownEmployeesUserNames()
                     select x.UserName).ToList();
        this.emoployeeUserNameComboBox.ItemsSource = query;
    }

The stored procedure above DropDownEmployeesUserNames is defined as

SELECT [UserName],Emp_Number
FROM AdminUser
ORDER BY UserName

It returns 14,257 rows

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T04:29:59+00:00Added an answer on May 21, 2026 at 4:29 am

    Combo boxes are meant to contain a limited set of options. If you wish to allow someone to select from 1 billion options, you are better served to use an autocomplete coupled with a button that brings up a popup window that allows efficient searching of the data needed to select an item. I tend to build a pop-up with the following features:

    1. A filter mechanism
    2. An alpha limiter
    3. Paging
    4. Recently selected/popular values when there tends to be some congruency in how a user selects values
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

To speed up some unit tests that minimize and maximize windows, I want to
Has anyone compared the speed of performance between LINQ to SQL against the Entity
I have a Full Speed device that specifies the max packet size as 256
I'm trying to speed up part of my code that involves looping through and
I'm creating a webform that has combos containing 100 values or so. The values
I'm hoping to speed up some large scale ETL operations, that read and transform
I'm interested in speed, not good looking code, that is why I'm using array
For speed purposes, I'm trying to decide whether to place my JavaScript in the
The speed with these libraries results in the page blinking every time I reload
I need to speed up a query. Is an index table what I'm looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.