This method only adds a data binding item, but doesn't bind it to anything. This can be useful for only displaying errors

Namespace:  Mindscape.LightSpeed.Web.WebForms
Assembly:  Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)

Syntax

C#
public EntityDataBindingItem AddBinding(
	Control ControlToBind
)
Visual Basic (Declaration)
Public Function AddBinding ( _
	ControlToBind As Control _
) As EntityDataBindingItem

Parameters

ControlToBind
Type: System.Web.UI..::.Control
The control which is to be bound on the WebForm

Return Value

An EntityDataBindingItem which describes the binding to a control on a WebForm

See Also