asp.net.ph

DataView.Count Property

System.Data Namespace   DataView Class


Returns the number of records in the DataView after RowFilter and RowStateFilter have been applied.

Syntax


Script [ integer variable = ] DataView.Count

Property Value


variable Integer specifying the total number of records currently stored in the DataView.

The property is read only with no default value.

Remarks

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

Example

The following example demonstrates using the Count property to programmatically determine the number of records currently stored in the DataView.

 Show me 

See Also

DataView Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph