示例#1
0
 void gridViewOperation_AfterAdd(PJ_11byqdzcl obj) {
     RefreshData(" where OrgCode='" + ParentID + "'  and byqID='" + PSObj.byqID + "'  order by id desc");
 }
示例#2
0
 /// <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;
 }