Main Page

  Previous Section Next Section


System.Web.UI (system.web.dll)sealed class

This class represents a design-time data binding, which is contained in the DataBindingCollection. Generally, most developers will create data bindings at runtime instead, which allows increased flexibility and more transparent code.

You can configure data binding expressions by clicking the ellipsis (...) next to the (DataBindings) option in the Visual Studio .NET Properties window. Every data binding consists of an expression identifying the source (Expression), the bound property (PropertyName), and the data type (PropertyType).

public sealed class DataBinding {
// Public Constructors
   public DataBinding(string propertyName, Type propertyType, string expression);
// Public Instance Properties
   public string Expression{set; get; }
   public string PropertyName{get; }
   public Type PropertyType{get; }
// Public Instance Methods
   public override bool Equals(object obj);        // overrides object
   public override int GetHashCode( );               // overrides object

Returned By


Passed To

DataBindingCollection.{Add( ), Remove( )}

      Previous Section Next Section