GridViewRowEventArgs.Row Property

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

Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: