void gridViewOperation_AfterAdd(PJ_11byqdzcl obj) { RefreshData(" where OrgCode='" + ParentID + "' and byqID='" + PSObj.byqID + "' order by id desc"); }
/// <summary> /// 新建对象设置Key值 /// </summary> /// <param name="newobj"></param> void gridViewOperation_CreatingObjectEvent(PJ_11byqdzcl newobj) { if (PSObj == null || parentID == null) { return; } newobj.byqID = PSObj.byqID; newobj.OrgCode = parentID; newobj.OrgName = parentObj.OrgName; newobj.CreateDate = DateTime.Now; Ebada.Core.UserBase m_UserBase = MainHelper.ValidateLogin(); newobj.CreateMan = m_UserBase.RealName; newobj.clrq = DateTime.Now; }