Professional Documents
Culture Documents
Final-Requirement Batingal Bolanio Canda
Final-Requirement Batingal Bolanio Canda
IT13L – 1116
MEMBERS
Member 1: Aecl Batingal
Member 2: Erica Bolanio
Member 3: Cyril Jade Canda
This system will be beneficial for storing student information like name, student id and etc. The
proposed system will support and provide a better solution for the institute by providing an
integrated and easy access to all student accounts and pertinent information With the integrated
system, the proposed study will provide a better link and fast and accurate access
to the records not only to the institute’s personnel but also to the students by providing end-user
interface for monitoring.
B. Business Rules
E. Data Dictionary
TblCourse
tblPay
tblStudent
tblStudentSubject
tblSubject
tblUser
Dashboard
Add Student
Add Student Subject
Cashier
Payment Settings
Dashboard – After Login, Dashboard will be shown as the user are freely to operate the
system.
Add Student – This is the Add student page inside registrar, where the user can add or
enroll the applicant.
Add Student Subject – This is the Add Student Subject page inside registrar, where the
user can add subjects to the enrollee.
Cashier – This is the Cashier page, where the user can settle the payment from the
enrolled student.
Payment Settings – This is the settings for payment, where the user is able to set fees,
amounts, and also unit for the semester.
Add Courses and Add Subjects – This is the page for add courses and add subjects,
where the user can add courses and subjects at the same time.
CREATE
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
If is_empty(txtPcode) = True Then Exit Sub
If is_empty(txtPdesc) = True Then Exit Sub
cm = New SqlCommand("select * from tblCourse where pcode like '" & txtPcode.Text & "' and descrip like '" &
txtPdesc.Text & "'", cn)
dr = cm.ExecuteReader
dr.Read()
If dr.HasRows Then
MessageBox.Show("Dulicate is not allowed", "Message", MessageBoxButtons.OK, MessageBoxIcon.Error)
dr.Close()
Return
End If
dr.Close()
Try
cm = New SqlCommand("insert into tblCourse values('" & txtPcode.Text & "','" & txtPdesc.Text & "')", cn)
cm.ExecuteNonQuery()
MessageBox.Show("Successfully save", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information)
txtPcode.Clear()
txtPdesc.Clear()
viewCourseSubect()
loadCourse()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
UPDATE
Private Sub btnupdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
btnupdate.Click
Try
cm = New SqlCommand("update tblCourse set pcode = '" & txtPcode.Text & "',descrip = '" & txtPdesc.Text &
"' where id like '" & ListView1.FocusedItem.SubItems(2).Text & "'", cn)
cm.ExecuteNonQuery()
MessageBox.Show("Successfully updated", "Message", MessageBoxButtons.OK,
MessageBoxIcon.Information)
txtPcode.Clear()
txtPdesc.Clear()
loadCourse()
viewCourseSubect()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
DELETE
Private Sub btndelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
btndelete.Click
Try
cm = New SqlCommand("delete from tblCourse where id like '" & ListView1.FocusedItem.SubItems(2).Text
& "'", cn)
cm.ExecuteNonQuery()
MessageBox.Show("Successfully deleted", "Message", MessageBoxButtons.OK,
MessageBoxIcon.Information)
txtPcode.Clear()
txtPdesc.Clear()
loadCourse()
viewCourseSubect()
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub