Exemplo n.º 1
0
        /// <summary>
        ///  绑定流程下所有的审批节点
        /// </summary>
        private void BindNodes()
        {
            ProcessRuleBLL         bll    = new ProcessRuleBLL();
            List <ProcessNodeInfo> pnList = bll.GetProcessNodesByProcessID(ProcessID);

            ddlWayBack.DataSource = pnList;
            ddlWayBack.DataBind();
            ddlWayBack.Items.Insert(0, new ListItem());


            //绑定所属部门
            //List<PWorldDeptInfo> lPdi = bll.GetPWorldDepartment();
            //foreach (PWorldDeptInfo pdi in lPdi)
            //{
            //    ddlDept.Items.Add(new ListItem(pdi.DepartName, pdi.DepartCode));
            //}
            //ddlDept.Items.Insert(0, new ListItem());
        }