asp.net.ph

GridViewRowCollection.Count Property

System.Web.UI.WebControls Namespace   GridViewRowCollection Class


.NET Framework version 2.0

Returns the number of rows in the collection.

Syntax


Script [ integer variable = ] GridViewRowCollection.Count

Property Value


variable Integer specifying the total number of rows currently stored in the collection.

The property is read only with no default value.

Remarks

Use the Count property to determine the number of rows in the GridViewRowCollection. The Count property is commonly used when iterating through the collection to determine the upper bound of the collection.

See Also

GridViewRowCollection Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note