Avatar of Declan Basile
Declan Basile
Flag for United States of America

asked on 

Saving a Null Value to a DataTable when a bound combobox is Cleared

In vb.net, I have a combobox's "SelectedValue" property bound to a field of a datatable.  When I select an item from the combobox, the SelectedValue gets saved and the ColumnChanged event of the DataTable is triggered; however, when I clear the combobox, neither the SelectValue gets saved to the DataTable nor does the ColumnChanged event get triggered.  How can I get a Null value to be saved to the bound field of the DataTable when the combobox is cleared?
Visual Basic.NET

Avatar of undefined
Last Comment
Declan Basile

8/22/2022 - Mon