Επεξεργασία

Κοινή χρήση μέσω


DetailsViewRow.RowState Property

Definition

Gets the state of the DetailsViewRow object.

public:
 virtual property System::Web::UI::WebControls::DataControlRowState RowState { System::Web::UI::WebControls::DataControlRowState get(); };
public virtual System.Web.UI.WebControls.DataControlRowState RowState { get; }
member this.RowState : System.Web.UI.WebControls.DataControlRowState
Public Overridable ReadOnly Property RowState As DataControlRowState

Property Value

A bitwise combination of the DataControlRowState enumeration values.

Remarks

Use the RowState property to determine the state of the row. The state can be a bitwise combination of the values in the following table.

State value Description
DataControlRowState.Alternate The DetailsViewRow object is an alternate row in the DetailsView control.
DataControlRowState.Edit The DetailsViewRow object is in edit mode.
DataControlRowState.Insert The DetailsViewRow object is in insert mode.
DataControlRowState.Normal The DetailsViewRow object is in its normal (default) state.

This property is commonly used to determine the state of a row before performing an operation.

Applies to

See also