Binds a source object and property to a control's property. For example you can bind a business object to a the text property of a text box, or a DataRow field to a text box field. You specify a binding source object (Customer.Entity or Customer.DataRow) and property or field(Company, FirstName) and bind it to the control and the property specified (Text).

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 void DataBind(
	Control WebPage
)
Visual Basic (Declaration)
Public Sub DataBind ( _
	WebPage As Control _
)

Parameters

WebPage
Type: System.Web.UI..::.Control
the Base control that binding source objects are attached to

See Also