The DataBinder class provides two-way, simple databinding a single datasource value and single control property. It can bind object properties and fields and database values (DataRow fields) to a control property such as the Text, Checked or SelectedValue properties. In a nutshell the controls acts as a connector between a datasource and the control and provides explicit databinding for the control.

The control supports two-way binding. Control can be bound to the datasource values and can be unbound by taking control values and storing them back into the datasource. The process is performed explicitly by calling the DataBind() and Unbind() methods of the control. Controls attached to the databinder can also be bound individually.

The control also provides a BindErrors collection which captures any binding errors and allows friendly display of these binding errors using the ToHtml() method. BindingErrors can be manually added and so application level errors can be handled the same way as binding errors. It's also possible to pull in ASP.NET Validator control errors.

Simple validation is available with IsRequired for each DataBinding item. Additional validation can be performed server side by implementing the ValidateControl event which allows you to write application level validation code.

This control is implemented as an Extender control that extends any Control based class. This means you can databind to ANY control class and its properties with this component.