FormViewRow.RowState Property

Definition

Gets the state of the FormViewRow 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.Edit The FormViewRow object is in edit mode.
DataControlRowState.Insert The FormViewRow object is in insert mode.
DataControlRowState.Normal The FormViewRow object is in its normal, read-only state.
DataControlRowState.Selected The FormViewRow object is selected.

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

Applies to

See also