System.Web.UI.WebControls.DetailsViewRow.RowState Property

Gets the state of the System.Web.UI.WebControls.DetailsViewRow object.

Syntax

public virtual DataControlRowState RowState { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

DataControlRowState.Alternate

The System.Web.UI.WebControls.DetailsViewRow object is an alternate row in the System.Web.UI.WebControls.DetailsView control.

DataControlRowState.Edit

The System.Web.UI.WebControls.DetailsViewRow object is in edit mode.

DataControlRowState.Insert

The System.Web.UI.WebControls.DetailsViewRow object is in insert mode.

DataControlRowState.Normal

The System.Web.UI.WebControls.DetailsViewRow object is in its normal (default) state.

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

Requirements

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