Binding Data to the User Interface

Display and update data:

  • Bind data to the user interface.

Data binding refers to the process of creating a link between a data model and the user interface of an application. The data model can be any source of data within the application: It might be an array of values, an Extensible Markup Language (XML) file, or data stored in a database. The user interface consists of the controls that are contained on the forms in an application.

The .NET Framework includes extremely flexible data binding capabilities. In the following sections you'll learn about many of those capabilities, including the following:

  • Simple data binding

  • Complex data binding

  • One-way and two-way data binding

  • The BindingContext object

  • The Data Form ...

Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET 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.