Spread for ASP.NET 8.0 Product Documentation
Column Property (AggregateArgs)
Example 


Gets the column index.
Syntax
'Declaration
 
Public ReadOnly Property Column As Integer
'Usage
 
Dim instance As AggregateArgs
Dim value As Integer
 
value = instance.Column
public int Column {get;}
Example
This example returns the column and aggregate type.
protected void FpSpread1Aggregate(object sender, FarPoint.Web.Spread.Model.AggregateArgs e) 
{
    string msg = ("The column with the aggregate is " + (e.Column + (" and the aggregate type is " + e.AggregationType)));
    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 column with the aggregate is " & e.Column & " and the aggregate type is " & e.AggregationType
    Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
End Sub
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

AggregateArgs Class
AggregateArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.