rufus Posted July 8, 2003 Posted July 8, 2003 I try to use Databinding property to the a table by using OLeDb connection. I want to create a new instance of the BindingManagerBase, and bind to the bindingcontext() of the form to find all the controls on the form to the datasouce, but Iam not able to intialize it. If I type Dim bmb as ......, it is not shwing the bindingmanagerbase. Can anybody can help. Quote Rufus
*Experts* jfackler Posted July 8, 2003 *Experts* Posted July 8, 2003 The BindingManagerBase is an abstract class, so instances of this object cannot be directly instantiated. Instead, the objects managed by the BindingContext object will actually be instances of either the PropertyManager class or the CurrencyManager class. If the data source can return only a single value, the BindingManagerBase object will be an instance of the PropertyManager class. If the data source returns (or can return) a collection of objects, the BindingManagerBase object will be an instance of the CurrencyManager class. ADO.Net objects will always instantiate CurrencyManagers. It is the CurrencyManager object that keeps track of position in the list and manages the bindings to a data source. Quote
rufus Posted July 8, 2003 Author Posted July 8, 2003 thank you for the reply. my problem is solved. Quote Rufus
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.