If e.DataCol.Name = "仓库名称" Then '如果更改的是仓库名称列 If e.DataRow.IsNull("仓库名称") Then '仓库名称是否为空 e.DataRow("仓库简称") = Nothing '如果为空,则清除仓库简称 Else '否则从仓库名称列中提取拼音简称 e.DataRow("仓库简称") = e.DataRow(GetPY("仓库名称", True))
End IfEnd If
输入内容提示column does ‘CKMC' not belong to table 仓库