Data binding, a technique for displaying data without writing any code, has suffered from a poor reputation. In the past, the only applications that could use it successfully were simple report-generating tools or thin database wrappers that were typically written in a high-level language such as Visual Basic or Microsoft Access Basic. These applications were easy to program but notoriously limited, inflexible , and performed poorly. Almost every data-binding solution suffered from the same well-known problems:
ADO.NET addresses these issues with a customizable and reusable data-binding framework that centers on two classes: the DataView and DataViewManager . This chapter examines these classes and explores the two data-binding models used in .NET: Windows Forms and ASP.NET. |