asp.net.ph

FormView.DataItemCount Property

System.Web.UI.WebControls Namespace   FormView Class


.NET Framework version 2.0

Returns the number of data items in the data source bound to a FormView control.

Syntax


Script [ integer intCount = ] FormView.DataItemCount

This property can only be used programmatically; it cannot be set when declaring the control.

Property Value


intCount Integer specifying the number of data items in the data source bound to the FormView control.

The property is read only with no default value.

Remarks

Use the DataItemCount property to programmatically determine the number of data items contained in the data source. This property contains the same value as the PageCount property, which returns the number of pages required to display the rows in the FormView control.

See Also

FormView Members   DataItem   DataItemIndex 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