Spread for ASP.NET 11 Product Documentation
RowCount Property (AggregateArgs)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > AggregateArgs Class : RowCount Property
Gets the number of rows.
Syntax
'Declaration
 
Public ReadOnly Property RowCount As Integer
'Usage
 
Dim instance As AggregateArgs
Dim value As Integer
 
value = instance.RowCount
public int RowCount {get;}
Example
This example returns the number of rows in the aggregate.
protected void FpSpread1Aggregate(object sender, FarPoint.Web.Spread.Model.AggregateArgs e) 
{
    string msg = "The row in the aggregate is " + e.Row.ToString();
    Response.Write("<script language='javascript'>alert('" + msg + "')</script>")
}
 
Protected Sub FpSpread1Aggregate(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.Model.AggregateArgs) Handles FpSpread1.Aggregate
    Dim msg As String = "The row in the aggregate is " & e.Row.ToString()
    TextBox1.Text = msg
End Sub
See Also

Reference

AggregateArgs Class
AggregateArgs Members