IList <string> pids = null;         // 父节点列表
        #region ASP.NET 事件

        protected void Page_Load(object sender, EventArgs e)
        {
            id   = RequestData.Get <string>("id", String.Empty);
            ids  = RequestData.GetList <string>("ids");
            pids = RequestData.GetList <string>("pids");
            switch (this.RequestAction)
            {
            case RequestActionEnum.Custom:
                if (RequestActionString == "querychildren")
                {
                    if (String.IsNullOrEmpty(id))
                    {
                        ents = ProjectFile.FindAll("FROM SysGroup as ent WHERE ParentId is null  Order By CreateTime desc");
                    }
                    else
                    {
                        ents = ProjectFile.FindAll("FROM ProjectFile as ent WHERE ParentId = '" + id + "' Order By CreateTime desc");
                    }

                    this.PageState.Add("DtList", ents);
                }
                else if (RequestActionString == "batchdelete")
                {
                    IList <object> idList = RequestData.GetList <object>("IdList");
                    if (idList != null && idList.Count > 0)
                    {
                        ProjectFile.DoBatchDelete(idList.ToArray());
                    }
                }
                else if (RequestActionString == "c")
                {
                    DoCreateSubByRole();
                }
                break;

            default:
                ProjectFile[] grpList = ProjectFile.FindAll("From ProjectFile as ent where  (ParentID='' or ParentID is null)  and Id='D67ADFAA-CC13-4168-9588-B52D6BC555D3' Order By CreateTime Desc");
                this.PageState.Add("DtList", grpList);
                break;
            }
        }