DataBinding.Expression Property
.NET Framework (current version)
Gets or sets the data-binding expression to be evaluated.
Assembly: System.Web (in System.Web.dll)
The following code example creates a DataBinding object and sets it equal to an existing object in the control's DataBindingCollection collection that has a propertyName parameter with a value of Text. If the collection contains a DataBinding object with a propertyName value of Text, this code returns the value of the object's Expression property. If there is no such object, it returns an empty string ("").
.NET Framework
Available since 1.1
Available since 1.1
Show: