I have a DataGridView with a BindingSource bound to a BindingList<LineItem> (A custom business object that represents a line in a purchase order)
Fields in the LineItem class include Number, Product (of type Product), Quantity, and so on.
I have the product field set up as a combobox field with a binding source bound to a BindingList<Product>
The combobox dropdown populates fine, and you can select a product, but when you move off of the cell to 'commit' it, the value goes away and doesn't get set in the underlying LineItem object.
Any ideas why this happens or how to fix it?
Thanks
Fields in the LineItem class include Number, Product (of type Product), Quantity, and so on.
I have the product field set up as a combobox field with a binding source bound to a BindingList<Product>
The combobox dropdown populates fine, and you can select a product, but when you move off of the cell to 'commit' it, the value goes away and doesn't get set in the underlying LineItem object.
Any ideas why this happens or how to fix it?
Thanks