CurrencyManager Question

  • Thread starter Thread starter Gary Paris
  • Start date Start date
G

Gary Paris

I have two books that I purchased, "ADO.NET Step-By-Step" and "Visual Basic
..NET Black Book".

I am reading about data-binding in Windows forms and there is a paragraph
about the CurrencyManager Object which states:

"The CurrencyManager object is fundamental to the Windows Forms
data-binding architecture. Through its properties, methods, and events, the
CurrencyManager object manages the link between a data source and the
controls that display data from the source."

All is good in .NET land so far.

But in the Visual Basic .NET book, it talks about Simple and Complex
data-binding, gives examples, but nothing is said about the CurrencyManager.

Can anyone shed some light on why the CurrencyManager is needed? Why isn't
the binding of the controls enough? Yes, the ADO.NET describes the commands
but no other explanation is given.

Thanks for any input.

Gary
 
Gary,

There is in US a chat about ADONET, one of the writters of the Microsoft
ADONET books is there almost forever. (David Sceppa).

See for that the message from Jason Cooke which is posted about 4 hours
after yours,

Cor
 
Gary,

As a more direct answer of your question.

The currencymanager shows you the current position in the control binded to
the datasource.

Therefore when you bind the same datasource to a combobox and a listbox and
you change the current in the combobox, you will see that change in the
listbox as well.

I hope this gives an idea.

Cor
 
Back
Top