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 6323813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:35:28+00:00 2026-05-24T16:35:28+00:00

what is the best way to load dropdown lists from reference/lookup tables for a

  • 0

what is the best way to load dropdown lists from reference/lookup tables for a desktop application?

the application is layed out into 3 tiers. I’ve built up my entities.

the front end has a form with 6 tabs. and one big save (another discussion 🙂

Should I load them all when the form is initially loaded? Are there any caching mechanisms I could use?

it is vb.net app on a network drive that is accessed by several users.

it’s also worth noting that some reference tables may be updated. Via another form.

thanks
T

  • 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-24T16:35:29+00:00Added an answer on May 24, 2026 at 4:35 pm

    Lots of factors. One you need to populate in constructor so the data is there to populate the visual elements. Beware that just because a tab is not visible does not mean it is not loaded when you app starts.

    For a static list of strings

        public class Library : INotifyPropertyChanged
        {
            private List<string>  dropDown1;
    
            public List<string> DropDown1 { get { return dropDown1; } } 
    
            public Library()
            {
                // use data reader to populate dropDown1
            }
        }
    

    I know this will get comments that can use something lighter than a List but List has a lot of nice features, easy syntax, and easy to populate. As a next step you could structure as a client server and use some static so the list is populated once and then shared by all. If you have more properties then substitute string with a class. For a dynamic list then in the get you grab the current data from the table on demand. In your get you could hold on to the last list and if the next request is within X seconds then return stale data. It depends on if stale data is acceptable.

    There are many other approaches and I do not pretend this is the best. Just putting out a relatively simple example to get you started.

    When it gets to hierarchical then things get a little more complex. There you can use ADO.NET table to store the static dependent data and then apply a filter on a view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the best way to load content into my infowindow using ajax? Right
I'm trying to figure out the best way to load a textured 3D model
I am trying to figure out what is the best way to load url
What is the best way to load seed (initial or test) data into grails
I wonder how's the best way to load sound files in Game? loading from
What is the best way to load a common Javascript chunk of code from
I’m trying to decide the best way to load data into my app, it’s
What's the best way to load HTML markup for a custom jQuery UI widget?
What is the best way to load static data files containing game level maps
I'm wondering what the best way is to use the XDocument.load and save methods

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.