編輯

共用方式為


CheckBoxField.InitializeDataCell Method

Definition

Initializes the specified DataControlFieldCell object to the specified row state.

protected:
 override void InitializeDataCell(System::Web::UI::WebControls::DataControlFieldCell ^ cell, System::Web::UI::WebControls::DataControlRowState rowState);
protected override void InitializeDataCell (System.Web.UI.WebControls.DataControlFieldCell cell, System.Web.UI.WebControls.DataControlRowState rowState);
override this.InitializeDataCell : System.Web.UI.WebControls.DataControlFieldCell * System.Web.UI.WebControls.DataControlRowState -> unit
Protected Overrides Sub InitializeDataCell (cell As DataControlFieldCell, rowState As DataControlRowState)

Parameters

cell
DataControlFieldCell

The DataControlFieldCell to initialize.

rowState
DataControlRowState

One of the DataControlRowState values.

Remarks

The InitializeDataCell method is a helper method used to initialize a cell in the CheckBoxField object.

Applies to

See also