操作数据库示例 1 import clr clr.AddReference("Kingdee.BOS") clr.AddReference("Kingdee.BOS.Core") clr.AddReference("Kingdee.BOS.App") from Kingdee.BOS.App.Data import * from Kingdee.BOS import * from System import * def BarItemClick(e): if e.BarItemKey == "tbHello": this.View.ShowMessage("操作开始"); DBUtils.Execute(this.Context,