Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / AggregateArgs Class / Result Property

In This Topic
    Result Property
    In This Topic
    Gets or sets the result of aggregation.
    Public Property Result As Object
    Dim instance As AggregateArgs
    Dim value As Object
    instance.Result = value
    value = instance.Result
    public object Result {get; set;}
    This example returns the column and aggregate type.
    protected void FpSpread1Aggregate(object sender, FarPoint.Web.Spread.Model.AggregateArgs e) 
        string msg = "The result is " + e.Result.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 result is " & e.Result.ToString()
        TextBox1.Text = msg
    End Sub
    See Also