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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:00:55+00:00 2026-06-05T19:00:55+00:00

I have a DataSet , where in the first table and in the row

  • 0

I have a DataSet, where in the first table and in the row i got a column called OrderStatus.

This field is a number between 0 and 3. What I want to achieve is when the data is loaded, I want to see the clear text of theOrderStatusin theComboBox` on my windows form.

Status 0 = Order in progress, 1 = Order is packaged, 2 = order
complete etc.

I have not found a way of binding the combobox and use a list of values to display the status in clear text.

Also when iIchange the status with the combo box I want it to reflect back to the dataset.

  • 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-05T19:00:56+00:00Added an answer on June 5, 2026 at 7:00 pm

    Use the DisplayMember and ValueMember property of the combo box.

    The DisplayMember of a Combobox gets or sets a string that specifies the property of the data source whose contents you want to display. Here you want Order In Progress, Order is packaged etc..

    The ValueMember property determines which value gets moved into the SelectedValue of the Combo Box. here you will set the corresponding ID values i.e. 0, 1, or 2 in your case

    So, OnSelectionChanged you can get the SelectedValue i.e. 0, 1 or 2 which you bind earlier and update back the DataSet.

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

Sidebar

Related Questions

I have a dataset I can group and want to know the percentage of
I have a dataset of 15 columns. I want to generate an excel sheet
I have this dataset at the moment that I am using for a quiz
I have a dataset with multiple tables. One table in particular has one record
I've got a table which has the usual ParentID, ChildID as it's first two
I have a table of results that looks like this: score_id, uid, af_id, level,
First, a little background (greatly simplified): I have two classes, one called Entity and
I have a SQL table where I need to get the number for the
I have a very large dataset - millions of records - that I want
The values I have in the row group are not First, Sum or anything

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.