Binding Data to the User Interface
The process of data binding involves creating a link between the data model and the user interface. Depending on your application's requirement, you may use different techniques for databinding:
Simple data binding
Complex data binding
One-way and Two-way data binding
The Data Form Wizard
Simple Data Binding
Simple data binding involves connecting a single value from the data model to a single property of a control. By default, a new control is unbound. To bind a control, you can add a new Binding object to its ControlDataBindings collection, which is accessed through its DataBinding property. Using the Add method for the Binding class requires the following information:
The name of the bound property
The data source ...
Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.