示例#1
0
 private void TVDept_AppendNodeFill()
 {
     this.FillTrees1.Nodes.Clear();
     System.Data.DataTable allDepartment = Popedomdis.DeptAct.GetAllDepartment();
     this.FillTrees1.NodeID         = "i_bmdm";
     this.FillTrees1.NodeText       = "v_bmmc";
     this.FillTrees1.ParentId       = "i_sjdm";
     this.FillTrees1.Target         = "InfoList1";
     this.FillTrees1.Locations      = "i_bmdm";
     this.FillTrees1.Url            = "UserList.aspx?ItemCode=" + base.Request.QueryString["subpc"];
     this.FillTrees1.TreeDataSource = allDepartment;
     this.FillTrees1.FillTree();
     this.hdnUserList.Value = PMAction.GETYHDMS(base.Request.QueryString["subpc"]);
     if (this.hdnUserList.Value.Trim() != "")
     {
         string yhdms = this.hdnUserList.Value.Trim(new char[]
         {
             ','
         });
         this.lbUseList.Text = PMAction.GETYHMCS(yhdms);
     }
     else
     {
         this.lbUseList.Text = "";
     }
     this.Label2.Text       = this.BLL_n.getBusinessman(base.Request.QueryString["subpc"]);
     this.Lb_prjManage.Text = PMAction.GetprjManager(base.Request.QueryString["subpc"]);
 }