Question

I have TextBox controls on a WinForm bound to a BindingSource. If I set CausesValidation = false on these controls it doesn't update data source on tableAdapter.Update() method. I know that Control.Validating event does this saving but how can I update source if CausesValidation is disabled?

Was it helpful?

Solution

Problem is solved using DataSourceUpdateMode.OnPropertyChanged in Binding.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top