System.Web.UI.WebControls.CheckBoxField.OnDataBindField Method

Binds the value of a field to a check box in the System.Web.UI.WebControls.CheckBoxField object.

Syntax

protected override void OnDataBindField (object sender, EventArgs e)

Parameters

sender
The source of the event.
e
An EventArgs that contains the event data.

Remarks

The CheckBoxField.OnDataBindField(object, EventArgs) method is a helper method used to bind the value of a field in the data source to a corresponding check box in the System.Web.UI.WebControls.CheckBoxField object.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0