The BindingSource component introduced in the .NET 2.0 Framework gives developers access to a bound list from which...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
operations such as change notification and currency management can be performed.
This is a highly touted improvement to data binding in .NET 2.0, but other changes and additions merit mention as well. A recent two-part article on MSDN, Behind the Scenes: Improvements to Windows Forms Data Binding in the .NET Framework 2.0 by Cheryl Simmons, takes a look at some of these additions.
Part 1 looks at the Binding and ControlBindingsCollection classes, which developers can manipulate by using code or by using the Formatting and Advanced Binding dialog box. Examples of what can be done include binding data in a table to a TextBox and using BindingConplete for exception handling.
Part 2 covers the BingingList, a generic implementation of the IBindingList interface that itself is an extension of the IList interface, Simmons writes. IBindingList allows for the development of custom business objects that are bound to lists and provides change notification whenever a list is changed. The article offers tips for searching and sorting a BindingList.
More on Windows Forms development from SearchVB.com