Design and Implementation of Daycare Management System
Design and Implementation of Daycare Management System
SYSTEM
BY
ATIKU SUMAYYAH
BU/8A/IT/3037
SEPTEMBER, 2020
i
DESIGN AND IMPLEMENTATION OF DAYCARE MANAGEMENT
SYSTEM
ATIKU SUMAYYAH
BU/8A/IT/3037
TO
SEPTEMBER, 2020
ii
DECLARATION
This is to certify that this Report entitled [Design and implementation of daycare
management system], which is submitted by [Sumayyah Atiku] in partial fulfillment of the
requirement for the award of degree for B.Sc. Computer Science to the Department of
Computer Science, Baze University Abuja, Nigeria, comprises of only my original work and
due acknowledgement has been made in the text to all other materials used.
APPROVED BY ……………………
Head Department of Computer Science
iii
CERTIFICATION
This is to certify that this Report entitled [Design and implementation of daycare
management system], which is submitted by [Sumayyah Atiku] in partial fulfillment of the
requirement for the award of degree for B.Sc. in Computer Science to the Department of
Computer Science, Baze University Abuja, Nigeria is a record of the candidate’s own work
carried out by the candidate under my/our supervision. The matter embodied in this thesis is
original and has not been submitted for the award of any other degree.
iv
APPROVAL
This is to certify that the research work, Daycare Management System and the subsequent
preparation by [Sumayyah Atiku] with [BU/18A/IT/3037] has been approved by the
Department of Computer Science, Faculty of Computing and Applied Science, Baze
University, Abuja, Nigeria.
By
Dr.C.V.Uppin _____________________
Head of Department Date/Sign
v
DEDICATION
vi
ABSTRACT
child daycare system is the care of a child during the day by a person other than the child’s
legal guardian, basically performed by someone outside the child’s immediate family. it is
typically ongoing for a specific period, such as parents work time. the system will be used to
register a child, monitor and verify who drops and picks the child, log of child’s activity,
parents/guardian details, parents will be able to update a child’s details (e.g. record allergy,
drug administration time if any etc.). it can also take a formal structure with education, child
development and discipline.
vii
TABLE OF CONTENTS
Title Page - - - - - - - - - - i
Cover Page - - - - - - - - - - ii
Declaration - - - - - - - - - - iii
Certification - - - - - - - - - - iv
Approval - - - - - - - - - - v
Dedication - - - - - - - - - - vi
ABSTRACT - - - - - - - - - - VII
2.1 Introduction - - - - - - - - - 4
viii
2.4 Summary - - - - - - - - - 7
4.1 Overview - - - - - - - - - 23
4.2 Development tools and technologies - - - - - - 23
4.8 Summary - - - - - - - - - - 28
ix
CHAPTER FIVE: DISCUSSION, CONCLUSION, AND RECOMMENDATIONS
5.1 Overview - - - - - - - - - 29
5.2 Evaluation - - - - - - - - - 29
5.6 Conclusion - - - - - - - - - 30
REFERENCES - - - - - - - - - 31
APPENDICES - - - - - - - - - 32
x
CHAPTER ONE
INTRODUCTION
1.1 Overview
Early education and care system play a very significant role in the growth of children,
preparing them for school and warranting parents the opportunity to engage in the workforce.
It is believed that children need a warm, safe, colorful environment and diversified
experience that focuses attention on ‘play’. By making these things available, a child will
grow and develop at a pace that is just right for them.
The daycare strives to provide quality care for all the children through age appropriate
activities that will help the children grow physically, emotionally, mentally and socially.
High standards for all staffs is maintained and child ratio is kept small to ensure adequate
care for each child. This system will make it easy to track and keep record of children and
their parents.
Background
In Nigeria, organized education of the child below primary school age did not receive official
recognition until very recently; it got the attention it deserves. The concept of infant schools
was introduced in Nigeria by the missionaries in the early 20th century when such schools
were set up in the Western and Eastern regions of Nigeria. Nowadays, early childhood
educational institutions are located in various places and buildings campus of universities and
Colleges, premises of some industries and business organizations, church premises,
residential buildings with unprecedented expansion owing to the high demand for early
childhood care and education by parents (Ejieh, 2006).
It is acceptable to say the application of computer technology in any venture would help in
making that venture easier and the benefits of using a computer to manage children data in
daycare clearly outweighs that of manual method which involves written documents.
1
Motivation
The motivation behind this project is the creche located on the campus of baze university
abuja. Considering the fact that there no such thing as children’s records or any form of
children activity log that can be presented to the parents or guardians of the children. I got the
inspiration to develop software that can track, register and provide information about the
children.
The issues that lead to this project are experienced by the management, staff and
parents of children, they include.
• Lack of efficient database storage system.
• Duplicate entry or registration.
• Poor graphical user interface.
• Time delay.
• No provision for allergy indication.
• To Design a system that will contain reliable database of all children admitted into the
daycare.
• To have a system that will be used to establish an efficient means of tracking children
in daycare.
• Verification of check in and out.
• Identification of children with allergy.
• Log of child’s activity while at the daycare.
• To allow room for parents to update a child’s record.
The implementation project will make it easy for daycare owners, staffs and parent to track
children, provide adequate information about children, and register children both new and
returning. It will allow parents to log into a digital system when to see the record of
utilization pattern of the school, i.e., the child’s activity for that entire day.
2
It will limit the report of file loss thereby improving the security of the records the research
project would serve as reference to others interested I further research of the topic.
Risk assessment assures that a daycare environment is safe and ideal for children, staff and
parents.
Power outage: loss of power is one the major issues that could affect this system, to prevent
this problem, laptops and desktops should always be fully charged when is power supply.
UPS, inverters or generators should be provided if possible.
Loss of data: to prevent any loss of information, a piece of data should be backed up as it is
registered.
This project is restricted to the creation of children daycare management system (A case
study of AIM daycare center Kaduna) data used for the course of this project was gathered
from this source.
3
CHAPTER TWO:
LITERATURE REVIEW
2.0 Overview
This chapter is concerned with the literature review. In this chapter, there are three
subsections. The first subsection talks about the types of daycare that exist. The second
subsection talks about other works that are related to this project, their advantages and lacks.
The last subsection contains the summary an outline of the entire chapter.
2.1 Introduction
In this day and age, there is increasing need for day care centers due to working parents and
the need for adequate care for children. There has to be an efficient management to keep up
with the demands. For the purpose of making work easy in day care centers, day care owners
subscribe to or purchase childcare management system.
4
Day care management system is basically a management tool for day care a management unit
that allows them to virtually control every aspect of the day care management with a user
friendly multi user interface. For parents, it serves as a tool to monitor their children’s
activity during the day, for the management, it helps to determine the aim of the day care,
making long term plans, determine performance of staffs and success of the day care.
The day care industry is like an extension of parental care to a larger, controlled institutions.
A large majority of childcare is still performed by parents, in-house nannies or relatives.
Mentioned below are of the various kind of day care we have
Non-profit day care: This kind day care renders services for free, it is more likely to produce
a good quality environment in which children can thrive. Not for profit day care has some
structural advantage over for profit day care. They may receive better treatments especially if
it is attached to a religious organization like church or mosque.
The location of the day care within a school may provide the advantage of coordinated school
program and the advantage of same location for parents who have older school kids, work in
the school or parents who are students themselves.
Parents are monotonously the legal owners of the non-profit day care and will regularly
provide service in areas they specialize in, for instance, accounting and finance, legal advice
etc. for free.
For-profit day care: for profit day care on the other hand rely on parents’ payment to run.
While this in no way determines the care provided by the care providers. The time spent on
wondering how to stay ‘in the black’ would be better invested in a program or receive
accreditation. The organization purchases better equipment, keep facilities upgraded. It
benefits the little people for whom it is intended, the children.
A software tracking system has overtime proven to be very important component of any
organization or institution. Several tracking systems have been proposed for various daycare.
Below are some of them.
5
2.3.1 EZcare childcare management software
EZcare childcare management software manages childcare, preschool, and aftercare needs
with an easy-to-use tool that helps organize family and child data. it is a web-based solution
for child care organizations to manage their marketing. it can manage parent inquiries. Once a
child is enrolled, EZCare’s integration allows the ability to transfer parent and child
information into EZCare, saving the time of having to re-enter this information and reducing
errors.
Advantage:
Provide efficient database for parents and children.
Disadvantage:
Compulsory need for internet connection in order to access the product, no option for offline.
Records vaccine but not allergy.
This is a software-based daycare management system. The system is available for a single
PC, it contains a license key for 20 PC’s . It facilitates daily management of the daycare by
tracking and providing all child’s, staff and parents or guardian information including drop
off and pickup contacts, child schedules and attendance.
Advantage:
It is user friendly and work can be done offline
Disadvantage:
The software is restricted to one PC.
No record of child’s allergies if any
6
Disadvantage:
Needs internet at all time to operate.
2.3.4 Proposed solution
Due to some of the disadvantages of the above related works, this system will solve the
problem of registering children with allergies or other related issues, this will make it easy for
the staff to know what to feed which child and how much to feed the child in order to avoid
risking the child’s health in anyway. This will also enable parents to update their child’s
record in case of any new development.
The system will also make storing of records easy and safe for long period of time. It will
significantly improve the quality of work in the daycare.
2.4 Summary
This chapter provides a review of current literature on recommended systems. the first section
of this chapter talks about information system and management information system, their
benefits and use in an organization. Next, the chapter talks about the types of daycare that
exist which are the non-profit and the for-profit daycare. The third section of this chapter
talks about other related works that have been done in relation to this topic.
7
CHAPTER THREE
REQUIREMENTS ANALYSIS AND DESIGN
3.1 Overview
This chapter gives account of analysis and design of daycare management system, the
methodology used for the system development, the requirements of the daycare management
system (functional and non-functional requirements), the tools used for the development of
the system (hardware and software).
Furthermore, this chapter describes the model of the system in form of simplified, complete,
and consistent abstraction of the system created for better understanding of the system using
DFDs and UML diagrams. The system design; system architecture, user interfaces and the
database design which are physical view of the system are also displayed in this chapter.
However, the methodology chosen for this project is the waterfall model because it is a
software development process that emphasizes logical progression of steps to be taken
throughout the software development life cycle and also because it allows for early design
changes.
8
Planning: In this first stage, there is a meeting with the customer to understand the
requirements. This stage is the most fundamental phase as any miscommunication or
misinterpretation (at this stage) may give rise to the software that is being developed. The key
activity of project planning is the process of clear, discrete activities and the work needed to
complete each activity within a single project.
Analyzing: As per the requirements, the software and hardware needed for the proper
completion of the project is analyzed in this phase. Such features are decided at this stage;
from deciding which computer language should be used for designing the software, to the
database system that can be used for the smooth functioning of the software.
Design: the requirements that are gathered in the previous phase are broken down into logical
units, so that the software process becomes easy for implementation. This is the stage, when
the software requirements along with the hardware requirements for every unit are identified.
Then the designs are made accordingly. The interrelation between the various units of the
software are identified and the connections are made, using algorithms and diagrams. To sum
it up, this is the phase, where the fundamental work for actual programming and
implementation is done.
Implementation: In this phase the actual development of the software takes place. This phase
is also known as coding and verification phase. Based on the algorithms written in the
previous phase, software program is written. For every module, software code is written and
tested, to check if the correct output is received.
Integration: And testing with the coding of the application complete, the testing of the
written code now comes into scene. Testing checks if there are any flaws in the designed
software and if the software has been designed as per the listed specifications. A proper
execution of this stage ensures that the customer interested in the created software, will be
satisfied with the finished product. If there are any flaws, the software development process
must step back to the design phase.
Maintenance: this makes for the final phase of the waterfall model, where the software is
organized at the client’s side, after it has undergone thorough testing. After the deployment of
the software, routine maintenance work is carried out. Once the software has been deployed,
in case the customer asks for any changes or enhancements, then the entire process is
restarted.
9
Figure 1. 1
The following tools are used for the purpose of this project
• A computer with 1.9Ghz of processor, 16GB of RAM, and 1TB of Hard drive
• Erwin Data Modeler
• UML Diagrams for the analysis and modeling of the system
• Microsoft office programs for necessary documentations and visualizations
• Microsoft Visio
• Microsoft SQL server
• Visual Studio
10
constraint on the. Some of the commonly used requirement of analysis and specification
methods are system design structured analysis design (SSAD) and object-oriented analysis
design (OOAD).
11
3.6.2 Non-functional Requirement specifications
12
Figure 1. 3: Admin Application Architecture
13
Figure 1. 4 Staff Application Architecture
14
3.7.1 Use Case Diagram
Figure 1.6
15
Actors: Staff and management
Parents: to give information about the pupil including medical
Stakeholder: information
Preconditions: pupil must exist
Enter information for new pupil
Retrieve information for existing
pupil
Update information for existing
Postconditions: pupil
16
3.7.2 Class Diagram
17
3.7.3 Database Design
18
3.7.4 Dataflow Diagram (DFD)
Children
Children Identify Identification Report Parents
and Tracking
Demand
Staff
19
1.Identity
Processing
2. Activities
monitoring and Server Database
Analyzing
Report
3.User Interface
Demand
Demand
Report
Staff Parent
20
3.7.5 Activity Diagram
prompt for user ID/
<3
Password
Verify Password
incorrect
Check number of
wrong enteries
correct
Access granted
21
Request to enroll
child
[>50]
vacancy
[< 50]
Add child
Dont enroll
Record personal
information
Send confirmation to
parent
3.6 Summary
This chapter describes the analysis and design of the system requirements and the design of
the system that were developed using different UML diagrams and Dataflow diagram.
22
CHAPTER FOUR
4.1 Overview
This chapter shows the implementation and testing of the Day care information management
system, the technologies and tools used during the implementation of the system, the
problems and errors encountered during the implementation and the solutions to the
problems. This chapter also shows the implementation and functionalities of the system.
The following are the tools and technologies used for the development of the system.
• A laptop with 1.9GHz clock speed and 16GB RAM
• Visual studio 2019 as IDE
• Microsoft SQL Server Management Studio 18
During the implementation of this desktop app, the following problems were encountered, the
problems were eventually resolve. The issues has to do with both front-end and bank-end
implementation.
Figure 2.4
This issue was encountered during the creation of a connection between the database and the
application.
23
Figure 2. 5
this problem occurred due to conversion of data type. The conversion of a varchar data type
to a date time data type resulted in an out-of-range value.
Figure 2. 6
Solution database connection problem
24
Figure 2.7Solution to data conversion problem
4.5 Testing
This section shows the testing process carried out to check the application for errors. All
functionalities were contained in the test plan to test for checking errors. System testing also
checks to see if the system satisfies its requirements or not.
Table1 4
S/N Administrator
1 Admin should be able to sign to the system
2 Admin should be able to sign out of the system
3 Admin should be able to edit his/her account
4 Admin should be able to manage users accounts
5 Admin should be able to manage user roles
6 Admin should be able to create a staff, Child or Parent Account
7 Admin should be able to manage Child, staff or parent details
Staff
25
8 Staff should be able to sign into the system
9 Staff should be able to add new child user
10 Staff should be able to manage attendance
11 Staff should be able to manage daily activity log
12 Staff should be able to add new parent
System
13 System should authenticate user login credentials
14 System should be able to hash user’s password
15 System should be able to check the role of a user to let him/her use some
functionalities
Table1 5
26
parent account September,
2020
R-7 Admin should be able to manage details staff, High 7th Pass
child or parent account September,
2020
R-8 User should be able to login after account High 7th Pass
creation September,
2020
R-9 Staff should be able to add a Child to the system High 7th Pass
September,
2020
R-10 Staff should be able to manage child details High 7th Pass
September,
2020
R-11 Staff should be able to manage child attendance High 7th pass
September,
2020
R-12 Staff should be able to manage child daily High 7th pass
activity log September,
2020
R-13 System should authenticate user login High 7th Pass
credentials September,
2020
R-14 System should be able to hash user’s password High 7th Failed
September,
2020
R-15 System should be able to check the role of a user High 7th Pass
to let him/her use some functionalities September,
2020
27
4.6 Test Report Summary
Table1 6
The user guide provides guidance on how to use the system to the user. It includes all
methods for operating the system. It also provides a reference to difference aspects of the
system. The user guide can be found in appendix E.
4.8 Summary
This chapter shows the system implementation, the tools and technologies used during the
implementation. This chapter also covers the problems that were encountered during the
implementation and how the problems were solved, test plans, test traceability matrix and test
report summary as well.
28
CHAPTER FIVE
5.1 Overview
This chapter covers the evaluation of the project, recommendations and conclusion. It
presents the objective assessment which is related with the aim of the project and also the
context of the project that gives the general conclusion of the project. The chapter further
discusses the limitations of the project, the challenge encountered, future enhancement and
recommendations.
5.2 Evaluation
The Daycare Information Management system has accomplished some its aims, at this point,
the application can:
Allow Admin, Staff and parents to login and out of the system.
Allow Admin to manage other users.
Allow the administrator to add and manage staffs, children, and parents accounts.
Enable the staff to manage children details including records of allergies and daily activities.
Enable Admin and staff to manage attendance.
Enable admin to add new user and also assign username and password.
This system is developed for a Nigerian based day care, the system is therefore limited within
Nigerian as it is developed to follow the Nigerian daycare processes. For a user to able to the
system, an account must be created and a username and password must be assigned to that
user.
During the analysis and implementation of this system, a couple of challenges were faced.
When analyzing the system requirement, it was difficult to understand what the stakeholder
wanted because they probably didn’t know what they as the outcome of the system.
This challenged was solved by applying skills like; problem solving skill, good
communication skill as well as critical thinking.
29
5.4 Future Enhancements
The system can be further enhanced by making it both a web and mobile application. This
will make it easy and more efficient as it can be used by multiple devices at the same time.
5.5 Recommendation
To make the system more efficient, below are some recommendations and future works.
As education is central to development, there should be availability of facility that will
stakeholders participate in school improvement programs and decision making. To facilitate
easy information access to such bodies, the desktop application could be further enhanced by
integrating additional reports required by daycares or preschools.
5.6 Conclusion
In here, I would like to conclude my work. The project Daycare Management Information
System is a computerized Package designed to fulfil all the required task and activities in the
Daycare. It is a great improvement over the manual system.
30
REFERENCES
Woods, K. (2019, June 12). Company: PowerSchool. Retrieved June m13, 2019, from
PowerSchool Website:
https://www.powerschool.com/company/about-us/
Ezcare care childcare software (2019, June 13). About Us retrieved from Ezcare website:
https://www.ezcaresoftware.com/client-services/
The preschool partner (2019 June, 12). About us retrieved from preschool partner
Website:https://www.preschool-partners.org/about
Ali, A. (2019, june 12). Kindergarten System. (A. Mohamed, Interviewer)
Amber, l. (2009). The Systems. Sydney: The Globe and Mail.
Henderson, T. (2019, June 13). Home: Elvis. Retrieved June 13, 2018, from Elvis Website:
http://www.elviserp.com/Home
Thomas, H. (2011). Information Systems. London: Olympia Publishers. Woods, K. (2017,
June 12). Company:
Woods, K. (2019, June 12). Company: PowerSchool. Retrieved June 13, 2019, from
PowerSchool Website:
https://www.powerschool.com/company/about-us/
Ezcare care childcare software (2019, June 13). About Us retrieved from Ezcare website:
https://www.ezcaresoftware.com/client-services/
Ladjamudin, A. (2005). Analysis and Design of Information Systems. Yogyakarta: Science
House.
The preschool partner (2019 June, 12). About us retrieved from preschool partner
Website:https://www.preschool-partners.org/about
Connolly, T. & Begg, C. (2002) Database System: A practical Approach to Design,
Implementation, and Management, (3rd Edition). England: Addison Wesley.
31
APPENDICES
Appendix A – Project Management Document
Task Name Duration Start Finish Deliverable
3rd
March, 10th March, Work breakdown structure and
1 Project Plan 7 days
2020 2020 Gantt Chart
10th
March, 24th
2 Introduction 14 days Introductory Chapter
2020 March,2020
24th
24th April,
3 Literature Review 30 days March, Reviewed Literature
2020
2020
1st
8th September, System Testing, Unit Testing,
6 Testing 8 days September,
2020 Integration Testing
2020
32
Appendix B: Interview questions
Q1. What are the objectives of your organization?
Q8. How do you keep track children attendance and daily activities?
33
Appendix C: Source codes
Admin main page
privatevoid button2_Click_1(object sender, EventArgs e)
{
// creating new instance to load Staff page
StaffDetails Staff = newStaffDetails();
Staff.Show();
this.Hide();
}
34
}
Admin profile
namespace WindowsFormsApp1
{
publicpartialclassAdminProfile : Form
{
publicAdminProfile()
{
InitializeComponent();
}
comboBox1.Text = Sign_InPage.mystring;
35
{
publicpartialclassAdminRegister : Form
{
publicAdminRegister()
{
InitializeComponent();
}
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("User Created");
AdminRegister refresh = newAdminRegister();
refresh.Show();
this.Hide();
}
36
textBox3.Text = DateTime.Now.ToLongTimeString();
textBox4.Text = DateTime.Now.ToLongTimeString();
}
37
privatevoid pictureBox3_Click(object sender, EventArgs e)
{
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Data inserted");
Children_sActivityLog refresh = new Children_sActivityLog();
refresh.Show();
this.Hide();
}
}
}
}
38
Children details page
namespace WindowsFormsApp1
{
publicpartialclassChildren_sDetailsPage : Form
{
publicChildren_sDetailsPage()
{
InitializeComponent();
}
39
}
40
}
41
SqlConnection Mydatabase = newSqlConnection(@"Data source
=(localdb)\MSSQLLocalDB; Initial Catalog = MyDaycare; Integrated Security = True");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Data Added");
Children_sDetailsPage refresh = new Children_sDetailsPage();
refresh.Show();
this.Hide();
42
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Data Updated");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
while (dataReader.Read())
{
string Child_ID = dataReader.GetInt32(0).ToString();
string FirstName = dataReader.GetString(1);
string Lastname = dataReader.GetString(2);
string Parentname = dataReader.GetString(3);
string DOB = dataReader.GetDateTime(4).ToShortDateString();
string Age = dataReader.GetInt32(5).ToString();
string Gender = dataReader.GetString(6);
string PhoneNum = dataReader.GetInt32(7).ToString();
string Adress = dataReader.GetString(8);
string Allergy = dataReader.GetString(9);
string ChildInformation = dataReader.GetString(10);
comboBox2.Text = Child_ID;
textBox9.Text = FirstName;
textBox8.Text = Lastname;
textBox6.Text = Parentname;
dateTimePicker1.Text = DOB;
43
textBox7.Text = Age;
textBox5.Text = Gender;
textBox3.Text = PhoneNum;
textBox2.Text = Adress;
textBox4.Text = Allergy;
textBox10.Text = ChildInformation;
Home Page
namespace WindowsFormsApp1
{
publicpartialclassHome : Form
{
publicHome()
{
InitializeComponent();
}
44
// creating new instance to load Signin page
Sign_InPage SignIn = new Sign_InPage();
SignIn.Show();
this.Hide();
}
}
}
}
Sign-in page
namespace WindowsFormsApp1
{
publicpartialclassSign_InPage : Form
{
publicSign_InPage()
45
{
InitializeComponent();
}
publicstaticstring mystring = "";
string query = ("select count (*) from Daycare.Login where username = '" + Username.Text
+ "' and password = '" + Password.Text + "' and Role = '" + Role.Text + "'");
SqlDataAdapter sqlquery = newSqlDataAdapter(query, Mydatabase);
sqlquery.Fill(dataContainer);
if (dataContainer.Rows[0][0].ToString() == "1")
{
if (Role.Text == "Admin”)
{
mystring = Username.Text;
mystring = Username.Text;
46
parentpage.Show();
this.Hide();
}
else
MessageBox.Show("Incorrect Username or Password");
}
47
}
}
Attendance management
namespace WindowsFormsApp1
{
publicpartialclassStaffChildAttendanceMngt : Form
{
publicStaffChildAttendanceMngt()
{
InitializeComponent();
textBox2.Text = DateTime.Now.ToLongTimeString();
textBox6.Text = DateTime.Now.ToLongTimeString();
textBox11.Text = DateTime.Now.ToLongTimeString();
textBox5.Text = DateTime.Now.ToLongTimeString();
}
48
}
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
49
MessageBox.Show("Checked In");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Checked In");
50
SqlCommand sqlquery = newSqlCommand("select * from Daycare.ChildDetails
where Child_ID = '" + comboBox1.Text + "'", Mydatabase);
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
while (dataReader.Read()) {
string ChildId = dataReader.GetInt32(0).ToString();
string ChildName = dataReader.GetString(1);
comboBox1.Text = ChildId;
textBox1.Text = ChildName;
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
while (dataReader.Read())
{
string StaffId = dataReader.GetInt32(0).ToString();
string StaffName = dataReader.GetString(1);
comboBox2.Text = StaffId;
textBox12.Text = StaffName;
}
51
}
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Checked Out");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show(" Staff Checked Out");
52
Staff Dashboard
namespace WindowsFormsApp1
{
publicpartialclassStaffDashboard : Form
{
publicStaffDashboard()
{
InitializeComponent();
}
Staff details
{// creating connection with my database
SqlConnection Mydatabase = newSqlConnection(@"Data source
=(localdb)\MSSQLLocalDB; Initial Catalog = MyDaycare; Integrated Security = True");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Data Added");
53
refresh.Show();
this.Hide();
SqlDataReader dataReader;
54
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
MessageBox.Show("Data Updated");
SqlDataReader dataReader;
Mydatabase.Open();
dataReader = sqlquery.ExecuteReader();
while (dataReader.Read())
{
string StaffId = dataReader.GetInt32(0).ToString();
string FirstName = dataReader.GetString(1);
string LastName = dataReader.GetString(2);
string DOB = dataReader.GetDateTime(3).ToShortDateString();
string gender = dataReader.GetString(4);
string PhoneNum = dataReader.GetInt32(5).ToString();
string Addres = dataReader.GetString(6);
string Title = dataReader.GetString(7);
string email = dataReader.GetString(8);
comboBox1.Text = StaffId;
Firstname.Text = FirstName;
Lastname.Text = LastName;
dateTimePicker1.Text = DOB;
Gender.Text = gender;
Phone.Text = PhoneNum;
Address.Text = Addres;
title.Text = Title;
Email.Text = email;
55
Appendix D: Test cases
56
57
58
Appendix E: User Guide
This application is a desktop application which means it can only run on PCs. The system
functions in a way that a user will have to register with the system, registration can only be
done by the admin, followed by sign-in. After signing into the system, the user will see home
page where he/she can decide on which activity to perform.
the summary shows the general overview of the system. It outlines the which shows the
functions of the system’s hardware and software requirements, system configuration and
system behavior.
The daycare system can operate on any desktop device. It does not require any internet
service to save, add or update data contained in the system.
A user must be registered in the system to be able to use the system. For instance, a username
and password be generated for the user.
After launching the system, it can be searched on the PC by searching for it through the
windows search, after which a user can sign into the system after attaining a username and
password.
59
Appendix F: User Interfaces
60
61
62
63