We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboBox bound to DataTable - support of DBNull?

Thread ID:

Created:

Updated:

Platform:

Replies:

29990 Jun 8,2005 03:28 PM UTC Jun 13,2005 09:30 PM UTC Windows Forms 1
loading
Tags: Tools
Steve Gauthier
Asked On June 8, 2005 03:28 PM UTC

Hi! I need a combo box with the style set to DropDownList, bound to a DataTable. However, I want to let the user unselect the current value of the combo (get DbNull). Is there a combobox class that can Support it? I can get it with the GridDataBoundGrid where the user can hit the "del" key to have an unspecified value (DbNull) and I would like to know if you support the same behaviour in your ComboBox classes for a Windows forms... Thanks

Administrator [Syncfusion]
Replied On June 13, 2005 09:30 PM UTC

Hi Steve, Unfortunately, none of our combobox controls support null values. Your best option would be to just place 1x1 Grid on your form and use its ComboBox. Your only other option would be to write your own DataBinding code in a wrapper class around ComboBoxBase. Regards, Gregory Austin Syncfusion Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;