Spread for ASP.NET 9.0 Product Documentation
GetAggregateValue Method
Example 


Index of the column
Gets the aggregate value.
Syntax
'Declaration
 
Public Function GetAggregateValue( _
   ByVal column As Integer _
) As Object
'Usage
 
Dim instance As ColumnFooter
Dim column As Integer
Dim value As Object
 
value = instance.GetAggregateValue(column)
public object GetAggregateValue( 
   int column
)

Parameters

column
Index of the column
Example
This example returns the aggregate for the specified column.
object o;
o = FpSpread1.ActiveSheetView.ColumnFooter.GetAggregateValue(0);
string msg = ("The aggregate for the column is " + o.ToString());
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim o As Object
o = FpSpread1.ActiveSheetView.ColumnFooter.GetAggregateValue(0)
Dim msg As String = "The aggregate for the column is " + o.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ColumnFooter Class
ColumnFooter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.