The CurrencyManager Class

The BindingConText property of a form returns a CurrencyManager object which inherits from the BindingManagerBase abstract class. The CurrencyManager object manages all the association between the DataTable (the DefaultView of the DataTable to be specific) or other bindable class and the controls they are bound to. Since the data binding functionality is provided by an intermediate object (the CurrencyManager) it provides a lot of flexibility when creating and using bound controls. In previous versions of Visual Basic, the binding mechanism was built into each control. Controls could be bound to one or two DataSources at the most, depending on their function. There were controls that supported data binding, and controls ...

Get ADO.NET Programming in Visual Basic™ .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.