Note: 0 will be given to the work that not using database connection string in the file appsettings.json
Kizspy.me
Employee Name
Projects
Date of birth
Saturday, February 17, 2024
Project Alpha
Project Beta
Department
Software Development
Project Gamma
Project Delta
Project Epsilon
Position
Senior Developer
HireDate
Saturday February 17.2024
Add new employee
Figure 2- Required window.
Load all departments from database into the ComboBox [Department], and all projects into the
ListBox [Projects].
By default, the first item in the ComboBox [Department] is selected.
The Listbox [Projects] has no item selected by default but must be enable multiple selection mode.
ComboBox [Position] has four items as shown in Figure 2 below.
Position
HireDate
Senior Developer
Senior Developer
Developer
QA Engineer
QA Tester
Zoom
Figure 3 - Items of ComboBox [Position]
After the user fills in the information and clicks the [Add new employee] button, the following
conditions must be checked:
The employee must be over 18 years old (calculated by year) and employee's name must be more
than three characters. (see Figure 4).
If the user has not selected any projects, a warning should be displayed asking the user to confirm
their desire to add an employee without any projects. The confirmation message should be similar to that
in Figure 5 below.
Once all conditions have been met, add the new Employee's information to the database. The employee
has joined all the selected projects. The Role, JoinDate and LeaveDate information can be null. After
successful addition, display a confirmation message.
+ 80%
Close