Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
DataColChanged事件中:
If e.datacol.name = "第二列" then
代码
end if
如果我只想判断第一行的第二列有数据改变则执行代码,应该怎样写?
DataRow是没有顺序的,只有Row有
If e.datacol.name = "第二列" AbndAlso e.Datarow("_Identiy") = Tables("XXX").rows(0)("_Identify") then
代码
end if
If e.datacol.name = "第二列" AndAlso e.Datarow("_Identiy") = Tables("表B").rows(0)("_Identify") then
既然提示某列不属于此表,自然就是列名写错了,如果这样的问题,都不去主动分析,就实在是太被动了。