Solved

Inserting a blank row into a DataBound ComboBox?

Posted on 2014-03-28
4
260 Views
Last Modified: 2014-03-28
I know how to insert a blank row into a ComboBox that is loaded manually, however, is it possible to insert one into a DataBound ComboBox. I have tried it using the same method as I do manually and it won't allow it.

Thanks!
0
Comment
Question by:BlakeMcKenna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39962187
You can't manually add an item once it is bound. How are you populating it? You may be able to add a dummy record to your datasource before you bind to the combobox.
0
 

Author Comment

by:BlakeMcKenna
ID: 39962300
I'm populating the combobox as a result of a dataset. I've already considered the dummy record and that's what I may ultimately end up doing. I was just wondering if it was possible somehow to insert a blank row into a bound combobox.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 39962612
Unfortunately not. You either have to go the manual route, or add to the data source.
0
 

Author Closing Comment

by:BlakeMcKenna
ID: 39962899
Thanks...that what I figured!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question