PC Review


Reply
Thread Tools Rate Thread

CurrencyManager Question

 
 
Gary Paris
Guest
Posts: n/a
 
      28th Mar 2005
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


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      29th Mar 2005
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


 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      29th Mar 2005
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# insertion of a record with CurrencyManager AddNew() method during the insertion of a father table record (with CurrencyManager AddNew() too) polocar Microsoft C# .NET 0 27th Sep 2006 06:51 PM
CurrencyManager Question hartley_aaron@hotmail.com Microsoft VB .NET 5 30th May 2006 06:35 PM
Why CurrencyManager? =?Utf-8?B?THVpcyBGYWphcmRv?= Microsoft Dot NET Framework 2 18th May 2005 03:03 AM
Re: currencyManager Joe Abou Jaoude Microsoft Dot NET Compact Framework 0 20th Oct 2004 07:51 AM
CurrencyManager and data binding question Nathan Kovac Microsoft C# .NET 1 19th Mar 2004 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 AM.