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

行インデックスを取得します。
構文
'Declaration
 
Public ReadOnly Property Row As Integer
public int Row {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.