Exemplo n.º 1
0
        private void BindGroup()
        {
            ddlGroup.Items.Clear();
            ProcessRuleBLL bll = new ProcessRuleBLL();
            IList <ApproveRuleGroupInfo> argi = bll.GetApproveRuleGroupNameByProcessType(ddlProcessType.SelectedValue);

            if (argi != null && argi.Count > 0)
            {
                foreach (ApproveRuleGroupInfo tmp in argi)
                {
                    ListItem li = new ListItem();
                    li.Text  = tmp.GroupName;
                    li.Value = tmp.GroupName;
                    ddlGroup.Items.Add(li);
                }
            }
        }