private void BindManager()
 {
     ddlManager.Items.Add(new ListItem("请选择", ""));
     DepartmentBLL bll = new DepartmentBLL();
     List<UserInfoModel> deptList = bll.GetManager();
     for (int i = 0; i < deptList.Count; i++)
     {
         UserInfoModel user = deptList[i];
         ddlManager.Items.Add(new ListItem(user.UserName, user.UserID));
     }
 }
 protected string BindManager()
 {
     DepartmentBLL bll = new DepartmentBLL();
     List<UserInfoModel> deptList = bll.GetManager();
     StringBuilder sb = new StringBuilder();
     for (int i = 0; i < deptList.Count; i++)
     {
         UserInfoModel user = deptList[i];
         sb.AppendFormat("<option value='{0}'>{1}</option>", user.UserID, user.UserName);
     }
     return sb.ToString();
 }