Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
请教各位大师,问个比较白的问题
比如在计算公式列里面输入的78+35,在计算结果列里面显示113
谢谢!
使用Eval
示例
If e.DataCol.Name = "第一列" Then
If e.NewValue = Nothing Then
e.DataRow("第二列") =Nothing
Else
e.DataRow("第二列") = eval(e.DataRow("第一列"))
End If
End If
再简化一下:
If e.DataCol.Name = "第一列" Then
If e.NewValue = Nothing Then
e.DataRow("第二列") =Nothing
Else
e.DataRow("第二列") = eval(e.NewValue)
End If
End If
谢谢两位的无私帮助,我的基础太差了,还要闭门修炼!
谢谢两位的无私帮助,我的基础太差了,还要闭门修炼!
只要潜水,不要太久时间的,呵呵