Spread for ASP.NET 8.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 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

ColumnFooter Class
ColumnFooter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.