DataBinding.Expression Property

 

Gets or sets the data-binding expression to be evaluated.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member Expression : string with get, set

Property Value

Type: System.String

The data-binding expression to be evaluated.

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 ("").

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: