What is a data binding?
What is a data binding?
Asked Answered
Binding generally refers to a mapping of one thing to another - i.e. a datasource to a presentation object. It can typically refer to binding data from a database, or similar source (XML file, web service etc) to a presentation control or element - think list or table in HTML, combo box or data grid in desktop software.
You generally have to bind the presentation element to the datasource, not the other way around. This would involve some kind of mapping - i.e. which fields from the datasource do you want to appear in the output.
For more information in a couple of environments see:
- Data binding in .Net using Windows Forms
- ASP.NET data binding
- Java data binding
- Python data binding
- General XML data binding
© 2022 - 2024 — McMap. All rights reserved.