Exemplo n.º 1
0
 /// <summary>
 /// 绑定流程类别
 /// </summary>
 private void BindProcessType()
 {
     ProcessTypeBLL bll = new ProcessTypeBLL();
     string loginName = Page.User.Identity.Name.Split('\\')[1];
     ddlProcessType.DataSource = WebCommon.GetDeptListByEmployeeCode(loginName);
     ddlProcessType.DataBind();
 }
Exemplo n.º 2
0
        private void BindProcessType()
        {
            ddlProcessType.Items.Clear();
            string loginName = Page.User.Identity.Name.Split('\\')[1];

            loginName = "hechunhai";
            ddlProcessType.DataSource = WebCommon.GetDeptListByEmployeeCode(loginName);
            ddlProcessType.DataBind();
        }