FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView();
FpSpread1.ActiveSheetView.SetValue(0, 0, 9);
FpSpread1.ActiveSheetView.SetValue(1, 0, 5);
FpSpread1.ActiveSheetView.SetFormula(2, 0, "SUM(A1,A2)");
sv = FpSpread1.ActiveSheetView;
if (IsPostBack)
{
sv.AutoCalculation = true;
}
Dim sv As FarPoint.Web.Spread.SheetView
FpSpread1.ActiveSheetView.SetValue(0, 0, 9)
FpSpread1.ActiveSheetView.SetValue(1, 0, 5)
FpSpread1.ActiveSheetView.SetFormula(2, 0, "SUM(A1,A2)")
sv = FpSpread1.ActiveSheetView
If IsPostBack Then
sv.AutoCalculation = True
End If