This article describes how to bind data in batches through DataBinder and how to solve common data binding problems, such as data formatting. Next, let's talk about the design of DataBinder to see how it binds the attribute values of the data source entity to the corresponding controls on the interface. In addition, it should be noted that the download of the original version of DataBinder is provided in the previous article, but it is already quite different from what was introduced in this article. The latest version mainly solves two main problems: attribute operation attribute assignment and value assignment through Expression Tree), added the "Data Capture" Data Capture) function, to assign the value in the control to the specified object. However, this does not mean that this is a final version. There are still some problems, such as the incomplete processing of null values, such as data binding, some controls require HTML Encoding.
Directory: