PrePareEdit事件:
If e.Col.Name = "比率" AndAlso e.Row.IsNull("比率") = False AndAlso e.Row("比率") = 0 AndAlso e.Row("逻辑列") = True Then
e.CAncel = True
End If