师傅你好:
运行下列发生错误:
If e.DataCol.Name = "产品编号" then
Dim dr as datarow = datatables("表B").find("产品编号= '" & e.NewValue & "'")
if dr is nothing then
dim r as datarow = datatbles("表B").AddNew
r("产品编号") = e.datarow("产品编号")
end if
编译错误:未声明名称:datatbles
错误代码: dim r as datarow = datatbles("表B").AddNew
请师傅修正,谢谢!