回复 2楼eppy的帖子
eppy 你好,
设置代码如下:
- Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
- If IsPostBack Then
- Return
- End If
- With Me.FpSpread1
- .ClientAutoCalculation = True
- .ActiveSheetView.Columns(2).Formula = "A1*B1"
- End With
- End Sub
复制代码 |