Firing the Windows Forms CurrencyManager events in Visual C# .NET (312045)
The information in this article applies to:
- Microsoft ADO.NET (included with the .NET Framework)
- Microsoft ADO.NET (included with the .NET Framework 1.1)
- Microsoft Visual C# .NET (2002)
- Microsoft Visual C# .NET (2003)
This article was previously published under Q312045
For a Microsoft Visual Basic .NET version of this article, see 311543.
This article refers to the following Microsoft .NET Framework Class Library namespace:
SUMMARY
The CurrencyManager object allows you to synchronize bound controls as a user browses through rows in a table. For example, CurrencyManager allows you to display the correct FirstName and LastName properties in separate, bound TextBox controls as a user browses through the Employees table. CurrencyManager has three events: CurrentChanged, ItemChanged, and PositionChanged. You can use these events to track when a user moves through rows and when a user edits values in bound controls. This article describes which actions cause the various CurrencyManager events to fire.
This article is divided into the following sections:
The " Sample code" section demonstrates the firing of the CurrencyManager events.
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
308484
How to display parent and child records in a Windows Forms DataGrid by using Visual C# .NET
For more information, see the following topics in Visual Studio .NET Help documentation:
back to the top
Modification Type: | Major | Last Reviewed: | 9/28/2004 |
---|
Keywords: | kbDatabase kbDataBinding kbinfo kbSqlClient kbSystemData KB312045 |
---|
|