Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Rufus
  • *Experts*
Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...