void view_OnQueryDataById(object sender, Views.Backstage.EditArgs e) { DataTable dtData = Model.QueryDataByID(e.DataID); View.ExeBindData(dtData); }
void view_OnInitDataType(object sender, Views.Backstage.EditArgs e) { DataTable dtDataType = Model.QueryDataType(); View.ExeBindDataType(dtDataType); }
void view_OnUpdateData(object sender, Views.Backstage.EditArgs e) { bool isUpdate = Model.UpdateData(e.DataTitle, e.DataContent, e.DataType, e.UserId, e.DataID); View.ExeReturnMsg(isUpdate); }