GridViewRowEventArgs.Row Property

 

Gets the row being created or data-bound.

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

member Row : GridViewRow with get

Property Value

Type: System.Web.UI.WebControls.GridViewRow

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.

.NET Framework
Available since 2.0
Return to top
Show: