'Declaration Public Overrides Property ColumnCount As Integer
'Usage Dim instance As GroupDataModel Dim value As Integer instance.ColumnCount = value value = instance.ColumnCount
public override int ColumnCount {get; set;}
'Declaration Public Overrides Property ColumnCount As Integer
'Usage Dim instance As GroupDataModel Dim value As Integer instance.ColumnCount = value value = instance.ColumnCount
public override int ColumnCount {get; set;}
private void button1_Click(object sender, EventArgs e) { if ((FpSpread1.ActiveSheetView.DataModel) is FarPoint.Web.Spread.Model.GroupDataModel) { gm = (FarPoint.Web.Spread.Model.GroupDataModel)FpSpread1.ActiveSheetViewDataModel; int i; i = gm.ColumnCount(); String msg = i.ToString(); Response.Write("alert('" + msg + "')"); } }
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim gm As FarPoint.Web.Spread.Model.GroupDataModel If TypeOf (FpSpread1.ActiveSheetView.DataModel) Is FarPoint.Web.Spread.Model.GroupDataModel Then gm = FpSpread1.ActiveSheetView.DataModel Dim i As Integer i = gm.ColumnCount String msg = i.ToString() Response.Write("alert('" & msg & "')") End Sub