A series of mechanisms are required to complete data binding.
1. First, you need to obtain data. Apply from the display layer Client ProgramFrom the memory data source;
2. Second, controls or components are also required. They are designed to deal with books, automatically display data, and change data back to the data source. This function may be encapsulated in top-level controls that you can see on the screen, or exist in some middle-layer components to act as the intermediary between the control type and data type, or a combination of widgets and intermediate layer components.
3. At last, if multiple controls on a form are bound to the same data source, and we want these controls to be realized as a whole, the underlying data changes will be synchronized, we need to get some support from the control container to keep all controls synchronized. In Windows Forms data binding, we can see all these mechanisms play a role.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.