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