要想彻底搞定,下面的代码:
If e.col.IsNumeric = True If e.Row.IsNull(e.col.name) = False If e.Row(e.col.name) = 0 e.Row(e.col.name) = Nothing End If End IfEnd If
哪一个事件,您自己先猜一猜!