Exemplo 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");
        }
Exemplo n.º 2
0
 protected override void GetDataList()
 {
     BaseCollection = DocumentCategoryServices.GetList(txtSearchText.Text);
 }
Exemplo n.º 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     DanhSachNhomDonVi.BindData(DepartmentGroupServices.GetList(isShowStatistic: true));
     DanhSachLoaiVanBan.BindData(DocumentCategoryServices.GetList());
 }
Exemplo n.º 4
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");
 }