MESCIUS SPREAD for ASP.NET 10.0J
RowCount プロパティ (AggregateArgs)

行数を取得します。
構文
'Declaration
 
Public ReadOnly Property RowCount As Integer
public int RowCount {get;}
次のサンプルコードは、集計に含まれる行数を返します。
protected void FpSpread1_Aggregate(object sender, FarPoint.Web.Spread.Model.AggregateArgs e) 
{
    string msg = "The row in the aggregate is " + e.Row.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 row in the aggregate is " & e.Row.ToString()
    TextBox1.Text = msg
End Sub
参照

AggregateArgs クラス
AggregateArgs メンバ

 

 


© MESCIUS inc. All rights reserved.