Advanced Binding Samples

The next section will take you through the process of creating some complex header/detail forms using Windows Forms data binding, parent/child relationships within DataSets, and (of course) the BindingContext and CurrencyManager classes.

Header/Detail Forms

A header/detail form is a scenario in which a grid is bound to a data source. In addition, there is a grid bound to some child relationship. For example, if you are looking at a grid of customers and you select a customer row, you would expect the child grid (containing that customer's orders) to automatically refresh to display just the orders for that customer. This is an example of a header/detail form, where the header is the grid bound to the parent rows and the ...

Get Microsoft® Visual C#® .NET 2003 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.