What Does Data Binding Mean?
Data binding, in the context of .NET, is the method by which controls on a user interface (UI) of a client application are configured to fetch from, or update data into, a data source, such as a database or XML document.
Prior to .NET, access to data binding models was limited to databases. Thus, many database management systems (DBM) could indirectly access the data source through their application programming interface (API) without any flexibility in controlling the data binding process. This problem is addressed in .NET by providing fine control of how the data is bound and the behavior of UI with Windows Forms and ADO.NET classes in the framework. The development of Web applications is simplified by providing data binding capability to Web pages using .NET server side Web controls.
Techopedia Explains Data Binding
- Reduction in code size
- Better performance of the application
- Rapid development of data-driven applications
- Customization of default data binding process by modifying the generated code wherever necessary
- Fine control on data binding through events
- Visual feedback on validation errors by associating validation rules of data with built-in data type validation of controls in UI (for example, date value entered in date control)