private void Save() { try { editData = eadapter.GetData(); G.BLL.ERP.BaseData.DM_INVCLASSLogic logic = new BLL.ERP.BaseData.DM_INVCLASSLogic(); logic.ExecuteUpdate(editData); MessageBox.Show("保存成功!"); } catch (Exception e) { MessageBox.Show(e.Message); } }
private void New() { editData = new DM_INVCLASS(); this.LoadData(); }
public void SetData(DM_INVCLASS data) { editData = data; LoadData(); }