I have a listbox bound to an ADO.NET DataTable (by his DataView) thorough ItemSource property.
Whenever I add a new row to DataTable, listbox reflects that change showing an empty item. I want to late the listbox updating until row is committed to database but I can't find the right way. I tried create a Binding using BindingMode.OneTime but
it doesn't work.
Dim bind As New Binding
bind.UpdateSourceTrigger = UpdateSourceTrigger.Explicit
bind.Mode = BindingMode.OneTime
bind.Source = tblRaccoltePunti.DefaultView
I need a way to suspend the DataBinding to manually update listbox when row is committed.
View Complete Post