Solved

Inserting a blank row into a DataBound ComboBox?

Posted on 2014-03-28
4
264 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 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