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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:03:58+00:00 2026-05-11T05:03:58+00:00

I am databinding a combobox to a DataSet, however I want to insert a

  • 0

I am databinding a combobox to a DataSet, however I want to insert a single item at the top for ‘None’.

Doing:

 combobox.Items.Insert(0,'None'); 

Doesn’t work, as the combobox is now expecting a DataRowView, however DataRowView doesn’t have a public constructor, so I can’t fake it that way.

Any advice? I’m sure this is a well solved problem.

  • 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. 2026-05-11T05:03:59+00:00Added an answer on May 11, 2026 at 5:03 am

    Insert to the object you are databinding to rather than to the combobox. Good example below.

    http://social.msdn.microsoft.com/forums/en-US/winforms/thread/70785e67-5c27-428f-ac79-e45c8c70c3e8/

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

Sidebar

Related Questions

Why databinding TwoWay don't work on the text property of a combobox in .net
At my form, I have one control ComboBox. I want after databinding add text
When doing databinding does one have to implement INotifyPropertyChanged on the datacontext in WPF?
I have been wrestling with getting databinding to work in WPF for a little
I have a ComboBox that doesn't seem to update the SelectedItem/SelectedValue. The ComboBox ItemsSource
If I want to bind something like a combobox in the code-behind I have
I am new to WPF and I am trying to get databinding to work
I'm just beginning to work with WPF's databinding, so please excuse the basic nature
Reference: C# databinding on combobox I have a similar situation. I have a form
I am trying to use windows forms databinding to hook up a combobox to

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.