Exemplo n.º 1
0
        private void BindDeptList()
        {
            ProcessRuleBLL bll = new ProcessRuleBLL();

            //绑定所属部门
            List <PWorldDeptInfo> lPdi = bll.GetPWorldDepartment();

            this.gvDeptList.DataSource = lPdi;
            gvDeptList.DataBind();
        }