|
-
May 23rd, 2003, 02:25 PM
#1
Thread Starter
Lively Member
Binding problems
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|