ControlAttribute Constructor (String, String)
.NET Framework (current version)
Initializes a new instance of the ControlAttribute class using the specified control ID and property name.
Assembly: System.Web (in System.Web.dll)
Parameters
- controlID
-
Type:
System.String
The control ID.
- propertyName
-
Type:
System.String
The property name.
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
.NET Framework
Available since 4.5
Available since 4.5
Show: