INFO: Firing the Windows Forms CurrencyManager Events in Visual Basic .NET (311543)
The information in this article applies to:
- Microsoft ADO.NET (included with the .NET Framework 1.1)
- Microsoft ADO.NET (included with the .NET Framework) 1.0
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
This article was previously published under Q311543 For a Microsoft Visual C# .NET version of this article, see 312045.
This article refers to the following Microsoft .NET Framework Class Library namespaces:
- System.Data
- System.Data.SqlClient
- System.Windows.Forms
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.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
308052 HOW TO: Display Parent and Child Records in a DataGrid Using Windows Forms by Using Visual Basic .NET
For more information, see the following topics in Visual Studio .NET Help documentation:
back to the top
Modification Type: | Minor | Last Reviewed: | 11/18/2005 |
---|
Keywords: | kbDatabase kbDataBinding kbinfo KB311543 |
---|
|