Professional Documents
Culture Documents
Final Document Pasindu
Final Document Pasindu
Pearson Assured
DIPLOMA IN INFORMATION TECHNOLOGY
(ONLINE)
Assignment Cover Sheet
Marks Obtained
Reg No. Student Name Signature (To be filled by
the Assessor)
1
Final project
Documentation
Statement of Originality and Student Declaration
I hereby, declare that I know what plagiarism entails, namely to use another’s work and to present it as
my own without attributing the sources in the correct way. I further understand what it means to copy
another’s work.
1. I know that plagiarism is a punishable offence because it constitutes theft.
2. I understand the plagiarism and copying policy of the Edexcel UK.
3. I know what the consequences will be if I plagiarize or copy another’s work in any of the
assignments of this program.
4. I declare therefore that all work presented by me for every aspect of my program, will be my
own, and where I have made use of another’s work, I will attribute the source in the correct way.
5. I acknowledge that the attachment of this document signed or not, constitutes a binding
agreement between myself and Edexcel UK.
6. I understand that my assignment will not be considered as submitted if this document is not
attached to the attachment.
2
Final project
Documentation
Content
1.Introduction..............................................................................................................................................6
1.1 Domain description...........................................................................................................................6
1.2 High Level Solutions Description........................................................................................................6
2.REQUIREMENTS........................................................................................................................................6
2.1 Functional Requirements...................................................................................................................6
2.2 Non-Functional Requirements...........................................................................................................7
3.Design.......................................................................................................................................................8
3.1 Design Interface.....................................................................................................................................8
3.1.1 Loging interface..........................................................................................................................8
3.1.2 Registration Interface.................................................................................................................8
3.2 Program Code Listing.........................................................................................................................9
3.2.1 Login Credentials........................................................................................................................9
3.2.2 button_OnClick_Register..........................................................................................................10
3.2.3 button_OnClick_Delete.............................................................................................................11
3.2.4 button_OnClick_Clear...............................................................................................................13
4.1Student Information Table...............................................................................................................18
4.1.1 Design.......................................................................................................................................18
4.1.2 Table data.................................................................................................................................18
5. system demonstrate the functions of the System................................................................................19
5.1 Login Form.......................................................................................................................................19
5.2 Student Information Form...............................................................................................................19
5.2.1 Insert.........................................................................................................................................19
5.2.3 Delete.......................................................................................................................................22
6.ER Diagram.............................................................................................................................................26
10. Student Enrolment System User Manual.............................................................................................32
3
Final project
Documentation
1.Introduction
1.1 Domain description
System can be used to enroll new students and to calculate course fee. The system also provides a facility
to delete existing student information. Staff members can login to the system and enroll students .
2.REQUIREMENTS
2.1 Functional Requirements
Login
Staff can login in order to enroll the students and to calculate the course fee (Click on Login button)
Register
Delete Student
4
Final project
Documentation
3.Design
(To design I mainly used the Guna Ui plug in
and C# programming language in Visual studio
2019)
5
Final project
Documentation
3.1 Design Interface
3.1.1 Loging interface
6
Final project
Documentation
3.1.2 Registration Interface
7
Final project
Documentation
3.2.2 button_OnClick_Register
conn();
txtAge.Text = age.ToString();
if (age >= 14)
{
if (int.TryParse(registern.Text, out Rno) && (txtSn.Text.Length > 0) &&
int.TryParse(txtMobile.Text, out cnum) && int.TryParse(txtAge.Text, out cnum) &&
txtSemester.SelectedIndex > -1)
{
conn();
try
{
}
catch (Exception ex)
{
MessageBox.Show("Database error:" + ex.Message.ToString());
8
Final project
Documentation
}
else
{
MessageBox.Show("Complete the missing Data", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
else
{
MessageBox.Show("Cannot Enroll-bellow 18 years", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
3.2.4 button_OnClick_ClearFields
To clear all the input fields.
}
private void label5_Click(object sender, EventArgs e)
{
clear();
}
3.2.7 Delete
try
{
9
Final project
Documentation
conn();
if (isSearchok)
{
isSearchok = false;
try
{
conn();
SqlCommand cmnd = new SqlCommand(deleteSql, sqlCon);
cmnd.ExecuteNonQuery();
registern.Clear();
}
else if (dialogresault == DialogResult.No)
{
10
Final project
Documentation
}
}
catch (Exception ex)
{
MessageBox.Show("Can't delete application", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
closeCon();
}
}
else
{
finally
{
closeCon();
}
4 Database
4.1Student Information Table
4.1.1 Design
11
Final project
Documentation
12
Final project
Documentation
13
Final project
Documentation
5. System demonstrate the functions of the System
14
Final project
Documentation
15
Final project
Documentation
5.2.3 Delete
6.Testing
Te Test Expected result Actual Result Pass/ Rema
16
Final project
Documentation
st Fail rks
Id
1 Login No massage Pass
username as shown just go to
Pasindu the registration
Vidusara form
and
password as
pasi@123
17
Final project
Documentation
7.ER Diagram
Student
DOB Gender
CEI(Course)
TelNo
18
Final project
Documentation
Username and password should be ”Pasindu Vidusara” and”pasi@123”
respectively.
Registration Number is compulsory and it should be an integer value
Date of birth should be selected from the Date Time picker calendar, then the age
of the student will be auto calculated and students under 18 years cannot be able to
enroll.
Gender should be selected
Contact Number should not exceed 10 integer values.
Course should be selected.
To insert a new student detail in to the data base “Insert” button should be clicked.
To delete an existing student information from the data base “Delete” button
should be clicked after entering the corresponding Registration number of the
student data needed to be deleted.
To ready for a new enrolment “Clear Fields” button should be clicked.
Th
an Speciall
y I want
19
to give
my