Ejemplo n.º 1
0
        protected override void BindValueToPageControls()
        {
            foreach (var user in UserServices.GetList(new[] { UserRole.LanhDaoDonVi, UserRole.LanhDaoVP, UserRole.TruongPhongBan }))
            {
                NguoiKy.AddSelectItem(user.FullName, user.UserID.ToString(), user.DepartmentName.ToUpper());
            }

            NguoiSoanThao.BindData(UserServices.GetList(), "UserID", "FullName", "DepartmentName");
            LoaiVanBan.BindData(DocumentCategoryServices.GetList(), "DocumentCategoryID", "DocumentCategoryName");
        }
Ejemplo n.º 2
0
 protected override void BindValueToPageControls()
 {
     NguoiKy.BindData(UserServices.GetList(new[] { UserRole.LanhDaoUBNDTinh, UserRole.LanhDaoVPUBNDTinh }), "UserID", "FullName", "DepartmentName");
     NguoiSoanThao.BindData(UserServices.GetList(new[] { UserRole.ChuyenVienVPUBNDTinh }), "UserID", "FullName", "DepartmentName");
     LoaiVanBan.BindData(DocumentCategoryServices.GetList(), "DocumentCategoryID", "DocumentCategoryName");
 }