Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
DataColChanged事件:
Dim dr As DataRow = e.DataRow
Select Case e.DataCol.Name
Case "数量","单价"
SystemReady = False
dr("金额") = dr("数量") * dr("单价")
SystemReady = True
End Select
Select Case e.DataCol.Name
Case "数量","金额"
SystemReady = False
if dr("数量") = 0
dr("单价") = nothing
else
dr("单价") = dr("金额") / dr("数量")
end uf
SystemReady = True
End Select