Beispiel #1
0
 void gridViewOperation_AfterAdd(PJ_11byqbd obj)
 {
     RefreshData(" where OrgCode='" + ParentID + "'  and byqID='" + PSObj.byqID + "'  order by id desc");
 }
Beispiel #2
0
 /// <summary>
 /// 新建对象设置Key值
 /// </summary>
 /// <param name="newobj"></param>
 void gridViewOperation_CreatingObjectEvent(PJ_11byqbd 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.azrq = DateTime.Now;
    
 }