Print Page | Close Window

Best way to handle problem with Combo Box

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1298
Printed Date: 03-Feb-2026 at 7:28am


Topic: Best way to handle problem with Combo Box
Posted By: BillG
Subject: Best way to handle problem with Combo Box
Date Posted: 03-Jun-2009 at 8:23am
I have a combo box bound to a control binding manager which is bound to a data source.  It works fine.  The user selects a name from the drop down list and it saves and retrieves okay.  Now the user wants to change their mind and not have a selection at all.  Without having to put a none in all the tables that I have combo boxes linked to how can I let the user blank out a combo box selection bound to a binding manager?
 
Bill
 



Replies:
Posted By: davidklitzke
Date Posted: 03-Jun-2009 at 10:05am

You don't have to modify your tables.

Just add a Null Entity to the choices in your ComboBox.  You can even give this choice a unique name (e,g, "No one").  For an example of how to do this see the Intermediate tutorial on "Working with ComboBoxes".



Print Page | Close Window