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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:08:29+00:00 2026-06-15T22:08:29+00:00

I am building a Winform based C# desktop application. I have a number of

  • 0

I am building a Winform based C# desktop application. I have a number of Combox control which the user can select the input from the drop down list or manually enter an input. The Combox Items itself is populated from a static list.

Whenever the user enters a new input which is not present the list, I add to this static list.

Here is the small code snippet which does that :

 if (!this.client_type.Items.Contains(items.ClientType))
            {
                ComboItems.ClientList.Add(temp.CourtName);
            }

So far, this approach works as long as the application does not close or exit. When the application restarts, the list does not have the manually entered items.

I am considering saving the list in a configuration file. Is there any other approach apart from using a configuration file ?

Thanks

  • 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-06-15T22:08:30+00:00Added an answer on June 15, 2026 at 10:08 pm

    Any type of serialization should work. A couple of popular ideas:

    Database: If you are already saving data to a database or if you want that same customized list to be available to all users regardless of if they are on the same machine then that may make the most sense.

    XML: If the changes should be per box that it runs on then you would want to store it locally. XML is popular and there are libraries available in the framework to work with XML files.

    Here is a link to look into other options.

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

Sidebar

Related Questions

Im building a book library which handles Books and Journals. I have a winform
First of all, The Winform application is based on .Net Framework 1.1. I have
I am building a Winform web browser. I have a history.xml file which stores
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
I have a large .NET based system running within the company intranet, which allows
Happy Friday SO! I'm building a multi-WinForm application and am having some troubles. I
I have an application that I'm building that has had concurrency problems in the
C# - Winforms - SQL Server i am building an application which displays some
I'm building a winform app which uses datagrids, lists, textboxes which are bound to
I am building a .NET WinForms based application (currently using .NET 3.5). The application

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.