Add a label to its associated field.
The collection is scanned for a field whose
ControlName matches the label's
AssociatedControlID. If found, the field's label (
LabelControl) is set to reference the label.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public IField AddLabel(
Label label
)
Public Function AddLabel (
label As Label
) As IField
Parameters
- label
- Type: System.Web.UI.WebControlsLabel
The label to associate with a field in the collection.
Return Value
Type:
IFieldThe field with which the label was associated or null if not associated.
See Also