DataBinding.PropertyType Property

 

Gets the .NET Framework type of the data-bound ASP.NET server control property.

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

member PropertyType : Type with get

Property Value

Type: System.Type

The .NET Framework type of the data-bound property.

The following code example declares three variables, dataBindingOutput1, dataBindingOutput2, and dataBindingOutput3, which access the different properties of a DataBinding object, myDataBinding2. The PropertyType property value is assigned to dataBindingOutput2 and concatenated with the string "The property type is ", and writes the value to a file.

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

.NET Framework
Available since 1.1
Return to top
Show: