problem with BindingManagerBase.

rufus

Active member
Joined
Jul 7, 2003
Messages
28
Location
Arlington,TX
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.
 
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.
 
Back
Top