System.Web.UI.WebControls.FormViewRow.RowState Property

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

Syntax

public virtual DataControlRowState RowState { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

DataControlRowState.Edit

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

DataControlRowState.Insert

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

DataControlRowState.Normal

The System.Web.UI.WebControls.FormViewRow object is in its normal, read-only state.

DataControlRowState.Selected

The System.Web.UI.WebControls.FormViewRow object is selected.

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