System.Web.UI.WebControls.GridViewRow.RowState Property

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

Syntax

public virtual DataControlRowState RowState { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewRow.RowType property to determine the state of the System.Web.UI.WebControls.GridViewRow object. The state can be a bitwise combination of the values in the following table:

DataControlRowState.Alternate

The System.Web.UI.WebControls.GridViewRow object is an alternate row in the System.Web.UI.WebControls.GridView control.

DataControlRowState.Edit

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

DataControlRowState.Normal

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

DataControlRowState.Selected

The System.Web.UI.WebControls.GridViewRow 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