privatevoid FpSpread1ChildViewCreated(object sender, FarPoint.Web.Spread.CreateChildViewEventArgs e)
{
FarPoint.Web.Spread.SheetView sv;
sv = e.SheetView;
int i;
i = sv.GetModelColumnFromViewColumn(1);
Response.Write("The index in the model for the specified column is " + i.ToString());
}
PrivateSub FpSpread1ChildViewCreated(ByVal sender AsObject, ByVal e As FarPoint.Web.Spread.CreateChildViewEventArgs) Handles
FpSpread1.ChildViewCreated
Dim sv As FarPoint.Web.Spread.SheetView
Dim i AsInteger
sv = e.SheetView
i = sv.GetModelColumnFromViewColumn(1)
Response.Write("The index in the model for the specified column is " & i.ToString())
End Sub