GridViewRowEventArgs.Row Property

Note: This property is new in the .NET Framework version 2.0.

Gets the row being created or data-bound.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
property GridViewRow^ Row {
	GridViewRow^ get ();
}
/** @property */
public GridViewRow get_Row ()

public function get Row () : GridViewRow

Property Value

A GridViewRow object that represents the row being created or data-bound.

Use the Row property to access the properties of the row being created or data-bound. To access a specific cell in the row, use the Cells property of the GridViewRow object contained in the Row property. You can also determine which row type (header row, data row, and so on) is being created by using the RowType property of the GridViewRow object.

The following example demonstrates how to use the Row property to access the properties of the row being bound to data.

No code example is currently available or this language may not be supported.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: