PowerTools SPREAD for ASP.NET 8.0J
Result プロパティ

集計の結果を取得または設定します。
構文
'Declaration
 
Public Property Result As Object
public object Result {get; set;}
次のサンプルコードは、列と集計タイプを返します。
protected void FpSpread1_Aggregate(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 FpSpread1_Aggregate(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
参照

AggregateArgs クラス
AggregateArgs メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.