Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Inserting a blank row into a DataBound ComboBox?

Posted on 2014-03-28
4
Medium Priority
?
267 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

715 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