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. Image for the cookie policy date
close icon

ComboBox bound to DataTable - support of DBNull?

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon