DataBinding.PropertyName Property
.NET Framework (current version)
Gets the name of the ASP.NET server control property to bind data to.
Assembly: System.Web (in System.Web.dll)
The following code example declares three variables, dataBindingOutput1, dataBindingOutput2, and dataBindingOutput3, which access the different properties of a DataBinding object, myDataBinding2. It then assigns the value of the PropertyName property to dataBindingOutput1, concatenates it with the string "The property name is ", and writes the value to a file.
.NET Framework
Available since 1.1
Available since 1.1
Show: