OK, I am using the BindingManagerBase to bind textboxes, comboboxes, checkboxes to a dataset. I would like to know if there is a better way because I am having so many problems. In VB6 I used an Ado control for the binding and the AddNew, Delete, Save, Cancel functions worked fine. These functions suck with BMB.
Couple of my problems:
1. AddNew function does not clear controls because of some of the binding methods with the comboboxes and checkboxes and I think because of this:
AddHandler b.Format, AddressOf DecimalToCurrencyString
AddHandler b.Parse, AddressOf CurrencyStringToDecimal
Any ideas why? Is there a fix for this?
2. If I insert a record to the table what is the best way to update the BindingManagerBase object?
I tried clearing and filling dataset but then what? This seems to cause errors:
dsTemp.Clear()
daTemp.Fill(dsTemp, "Temp")
bmdTemp.Position = bmbTemp.Count
