System.Web.UI.DataBinding Class

Contains information about a single data-binding expression in an ASP.NET server control, which allows rapid-application development (RAD) designers, such as Microsoft Visual Studio, to create data-binding expressions at design time. This class cannot be inherited.

See Also: DataBinding Members


public sealed class DataBinding


Each data-binding expression in a server control is represented at design time by an instance of the System.Web.UI.DataBinding class. Any server control that contains one or more data-binding expressions has a System.Web.UI.DataBindingCollection object that contains the System.Web.UI.DataBinding objects. This collection is accessible through the System.Web.UI.Control class implementing the System.Web.UI.IDataBindingsAccessor interface. When you create a custom RAD designer, use that implementation to access the collection. Any System.Web.UI.DataBinding or System.Web.UI.DataBindingCollection objects associated with a server control exist only at design time. They do not exist at run time and, therefore, are not accessible during run time.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,