Professional Documents
Culture Documents
PROJECT REPORT
Submitted by
M.BALAGURU
(Reg.No:1922K0132)
MAY 2022
CHIKKANNA GOVERNMENT ARTS COLLEGE
(Affiliated To Bharathiar University)
Tirupur-641602
Date: M.BALAGURU
ACKNOWLEDEMENT
.
ACKNOWLEDEMENT
I obliged to our great almighty god for showering all his precious blessing upon me as the
psalmist who says unless the lord builds the house Its builders labour in vain I felt his help and
sustaining proper sufficient in every step.
I thank Dr A.GEETHA M.Sc., M.Phil., Ph.D., Assistant Professor and Head of the
Department of Computer Science CHIKKANNA GOVERNMENT ARTS COLLEGE, Tirupur
for the guidance and valuable suggestion during the course of my study.
I would also like to thank all the staff members and other authorities who helped and
supported me throughout my course of study. Above all, I would like to thank my Beloved
Parents and Friends who have encouraged and supported me during the course of my project
work. I dedicate this project to them.
I
SYNOPSIS
.
SYNOPSIS
Every organization, whether big or small, has challenges to overcome and managing the
information of student, result that are adapted to your managerial requirements.
The software is mainly developed for staff usage and developed in a manner that is
easily manageable, time saving and relieving one from manual works.
The Following tasks can be performed with the application
Student information entry and modification
Academic information entry and modification
Student details viewer
Academic details viewer
Student details entry module for adding, modifying and deleting the Student details on
the database. Academic details entry module for adding, modifying and deleting the
Academic details on the database. Student details viewer module for just viewing the
information and filtering. And finally generating reports on retrieved information.
II
CONTENTS
.
CONTENTS
SYNOPSIS II
1 INTRODUCTION 1
2 SYSTEM STUDY 5
5 CONCLUSION 34
BIBLIOGRAPHY 34
APPENDICES 36
B. TABLE STRUCTURE 37
C. SAMPLE CODING 38
D. SAMPLE INPUT 61
E. SAMPLE OUTPUT 64
INTRODUCTION
.
1
CHAPTER – 1
INTRODUCTION
The "Student Result Management System" has been developed to
override the problems prevailing in the practicing manual system. This
software is supported to eliminate and in some cases reduce the
hardships faced by this existing system. Moreover this system is
designed for the particular need of the staffs at the collage.
The application is reduced as much as possible to avoid errors while
entering the data. It also provides error message while entering invalid
data. No formal knowledge is needed for the user to use this system.
Thus by this all it proves it is user-friendly.
Student Result Management System, as described above, can lead
to error free, secure, reliable and fast management system. It can assist
the user to concentrate on their other activities rather to concentrate on
the record keeping.
Thus it will help organization in better utilization of resources.
Every organization, whether big or small, has challenges to overcome
and managing the information of Student, Result.
Every Result Management System has different Result needs,
therefore we design exclusive internal calculation systems that are
adapted to your requirements.
This is designed to assist in strategic planning, and will help you
ensure that your organization is equipped with the right level of
information and details for your future goals.
Also, for those busy executive who are always on the go, our
systems come with remote access features, which will allow you to
manage your workforce anytime, at all times. These systems will
ultimately allow you to better manage resources.
2
1.1 ORGANIZATION PROFILE
I develop this software for my collage usage. My collage name is
“CHIKKANNA GOVERNMENT ARTS COLLAGE” and it placed
on TIRUPUR. The memorable celebrities Mr. S. Ramasamy and K. N.
Palanisamy with their team members initiated the establishment work
for the college on July 1966. In continuance of this, “Chikkanna
Chettiar Trust” donated Rs.500000/-. On Remembrance of this
charity the college was named as Chikkanna Government Arts
College. The college started functioning with the introduction classes,
at Devangapuram Co-operative society building in the year 1966. The
primary aim of the institution is to provide quality education, with
focus on the learners from the downtrodden sections of society and the
majority students belong to first generation learners. My software is
very useful for the staffs to make reduce the manpower and the time
delay.Existing method of this process is done by manually. So the use
of the software is very important for the collage.
3
1.2 SYSTEM SPECIFICATION
• Ram :: 4 GB
• Language :: VB.Net
• Database :: Ms Access
4
SYSTEM STUDY
.
5
CHAPTER – 2
SYSTEM STUDY
2.1 EXISTING SYSTEM
The students want to know the results of the particular subject, they
should wait for long time because work done manually.
6
2.1.1 DRAWBACKS OF EXISTING SYSTEM
The main drawback of the system is data loss. The hard copy
document or Register of the note boom is misplaced or any type of
damage can occur, we will loss the student’s data.
It has a lot of the time waste and also has man power waste. We
have to save the documents for the whole six semester.
Teachers spend days on each student to score their papers and
calculate their percentage and then determine their rank in the class.
This is an extremely time-consuming process that is also prone to
human errors.
Once the marks are calculated, teachers taken for the tedious
work of preparing the list of students who have obtained passing
marks and those who have not
This system is very time taking process and the data can’t
be accessed accurately.
If the student want more information about their courses the
admin can’t be able to provide that.
Student need to go manually for getting the information.
7
2.2 PROPOSED SYSTEM
This application is portable and can easily access by the staffs. Time
taken for getting the information will be reduces.
8
2.2.1 FEATURES OF PROPOSED SYSTEM
In this software just give the input of the student information and save
their data then it save for a long time. And also the give the inputs for the
marks for the subjects, then it automatically calculate the actual internal
marks.
Using filter option on the viewer module to filter the student details
and the mark list.
Using filter option the mark list by the REGNO, semester or the
subject wise. This option is very useful for the staffs.
If there is any error, the message box is notify that. So we will change
that very easily.
9
SYSTEM DESIGN AND DEVELOPMENT
.
10
CHAPTER – 3
11
DASHBOARD PAGE.
12
3.2 INPUT DESIGN
13
STUDENT INFORMATION UPDATION SCREEN
After check the Radio button enter the data to change and click on the “update”
button
14
MARK INPUT SCREEN FOR NORMAL CORE PAPERS
This is the actual screenshot of mark input screen for normal core papers
Commonly this form contain,
o Some labels can be used for display message.
o 4 textboxes can be usefor enter the inputs.
o combo boxes can be used for the select the list item.
o command button
Calculate - to add the internal and external mark and save that in
totalmark textbox
Add new - to clear the textboxes
Save - to save the entered data to the database
Delete – to delete a record from the database by using the REGNO
Expesally contain for the internal calculation for the all core papers
o Some of labels to display message
o Some of text boxes for enter the input
o A command button
It calculate the internal mark by given calculation formula and store
into the internal mark textbox
15
MARK INPUT SCREEN FOR PRACTICAL LAB PAPERS
This is the actual screenshot of mark input screen for core practical lab papers
Expesally contain for the internal calculation for the all core practical lab paper
It calulate the internal mark by the given calculation formula and store
that data to the internal mark text box.
16
MARK INPUT SCREEN FOR PROJECT WORK
This is the actual screenshot of mark input screen for project work lab papers
Expesally contain for the internal calculation for the all project work lab paper
It calulate the internal mark by the given calculation formula and store
that data to the internal mark text box.
17
3.3 OUTPUT DESIGN
18
STUDENT ACADEMIC INFORMATION VIEWER SCREEN
Just select which choice to search the information by using the Radio button, then
enter the input click on the search button
19
3.4 DATABASE DESIGN
TABLE 1: student
TABLE 2: academic
20
3.5 SYSTEM DEVELOPMENT
3.5.1 DESCRIPTION OF MODULES
LOGIN AUTHETICATION
STUDENT INFORMATION
ACADEMIC INFORMATION
STUDENT INFORMATION VIEWER
ACADEMIC INFORMATION VIEWER
LOGIN AUTHENTICATION
Login authentication is very important for a software. This is the security
of the software and your files. So the user must remember the username and
password. The dashboard view automatically display after the login is
complete. In the dashboard you have to select the portal what they want.
STUDENT INFORMATION
Student information module is used to insert a student information. Here
also we have the modify option, by this option you have modify the student
details by using the “REGNO”. Also you delete a student record by using
the “REGNO”.
ACADEMIC INFORMATION
Academic information module is used to insert a student mark details. Here
we havae three type for internal evaluation-normal core papers, practical lab
and project lab. Here these option are displaying by the selection of the subject
name. Here you just input the mark and click on calculate button, then is
calculate the internal mark and display it on the internal mark textbox. Then
give input for the external mark then click on the 2nd calculate button to
calculate total mark. Then click on the save button to save the details to the
database. Here also you have a delete option to delete a record by using
the “REGNO”.
21
STUDENT INFORMATION VIEWER
Student information module is used to view the details that taken from the database.
Here we have some of the options for search the student details.
1st Option - Search by using the “REGNO” of the student
Check the “REGNO” Radio button and type the “REGNO” on the REGNO
textbox
2nd Option - Search by using the “NAME” of the student
Check the “name” Radio button and type the “name” on the name textbox
3rd Option - Search by using the “GENDER”
Check the “gender” Radio button and type the “gender” on the gender textbox
4th Option - Search by using the “COMMUNITY”
Check the “community” Radio button and type the “community” on the
community textbox
By this options, we have filter and display by clicking the “SEARCH” button.
Here we have the “print” button for print the datagrid view.
By this options, we have filter and display by clicking the “SEARCH” button.
Here we have the “print” button for print the datagrid view.
22
TESTING AND IMPLEMENTATION
.
23
CHAPTER – 4
TESTING AND IMPLEMENTATION
TESTING TECHNOLOGIES
System Testing
System testing, or end-to-end testing, tests a completely integrated system to
verify that it meets its requirements.
For example, a system test might involve testing a logon interface, then
creating and editing an entry, plus sending or printing results, followed by
summary processing or deletion (or archiving) of entries, then logoff.
Unit Testing
Unit testing, also known as component testing, refers to tests that verify the
functionality of a specific section of code, usually at the function level.
In an object-oriented environment, this is usually at the class level, and the
minimal unit tests include the constructors and destructors.
These types of tests are usually written by developers as they work on code
(white-box style), to ensure that the specific function is working as expected.
System Testing
System testing is the first level in which the complete application is tested as
a whole.
The goal at this level is to evaluate whether the system has complied with all
of the outlined requirements and to see that it meets Quality Standards.
System testing is undertaken by independent testers who haven’t played a
role in developing the program.
24
Testcase for the login form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Textbox of username Enter any data Accept that Accepted Success
should accept any of into username
data textbox
TC-2 Textbox of REGNO Enter any data Accept that Accepted success
should accept any of into password
data textbox
TC-3 Checkbox is checked Check the Textbox Visible success
then the password checkbox data are
textbox data are visible visible
TC-4 Checkbox is not Do not Check Textbox Data not success
checked then the the checkbox data are not visible
password textbox data visible
are not visible
TC-5 If entered data are Enter correct Login Next stage success
correct then go to next data and click successful is opened
stage after clicking the the login and go to
login button button next state
TC-6 If entered data are not Enter wrong Login Next stage success
correct then go to next data and click failed not
stage after clicking the the login opened
login button button
25
Testcase for the dashboard form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Go to the student Click the Student Student Success
information entry student information information
form by click the information form form
student information button opened opened
button
TC-2 Go to the academic Click the Student Student success
information entry academic academic academic
form by click the information form form
academic information button opened opened
button
TC-3 Go to the student Click the Student Student success
information viewer student information information
form by click the information viewer viewer
student information viewer button form form
viewer button opened opened
TC-4 Go to the student Click the Student Student success
mark list viewer form student mark information information
by click the student list viewer form form
information viewer button opened opened
button
26
Testcase for the student information form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Data is going to be Enter the data Insert the Inserted Success
insert after enter and and Click the given
the inputs by click the save button information
save button
TC-2 Data is going to be Enter the data Update the Updated success
update after select the and Click the given data
Radio button and enter update button
the data click the
update button
TC-3 Data is going to be Enter the data Delete the Deleted success
delete after enter the and Click the requested
REGNO on the delete button record
textbox by click the
delete button
TC-4 Textboxes are going to Click the Empty the Textboxes success
clear by click the addnew textboxes are cleared
addnew button button
27
Testcase for the academic information form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Data is going to be Enter the data Insert the Inserted Success
insert after enter and and Click the given
the inputs by click the save button information
save button
TC-2 Data is going to be Enter the data Delete the Deleted success
delete after enter the and Click the requested
REGNO on the delete button record
textbox by click the
delete button
TC-3 Textboxes are going to Click the Empty the Textboxes success
clear by click the addnew textboxes are cleared
addnew button button
28
Testcase for the student information viewer form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Search the data Enter the data and Data Data Success
based on REGNO by check the Radio fetched fetched
click the search button near based on
button REGNO then REGNO
click the search
button
TC-2 Search the data Enter the data and Data Data success
based on name by check the Radio fetched fetched
click the search button near name based on
button then click the REGNO
search button
TC-3 Search the data Enter the data and Data Data success
based on gender by check the Radio fetched fetched
click the search button near based on
button gender then click gender
the search button
TC-4 Search the data Enter the data and Data Data success
based on community check the Radio fetched fetched
by click the search button near based on
button community then community
click the search
button
29
TC-5 Search the data Enter the data and Data Data success
based on academic check the Radio fetched fetched
year by click the button near based on
search button academic year academic
then click the year
search button
TC-6 Search the all data check the Radio All Data Data success
from the database by button near all are fetched
click the search information then fetched
button click the search
button
TC-7 Print the data grid Click on the print Print the Printed success
view when click the button after data data grid
print button fetching view
30
Testcase for the student mark list viewer form
Test Expected Actual
case
Test description Test step status
result result
TC-1 Search the data Enter the data and Data Data Success
based on REGNO by check the Radio fetched fetched
click the search button near based on
button REGNO then REGNO
click the search
button
TC-2 Search the data Enter the data and Data Data success
based on semester by check the Radio fetched fetched
click the search button near name based on
button then click the semester
search button
TC-3 Search the data Enter the data and Data Data success
based on subject by check the Radio fetched fetched
click the search button near based on
button subject then click subject
the search button
TC-4 The input of the Enter the correct Data Data success
REGNO is must be data and check fetched fetched
available on the the Radio button based on
database near REGNO REGNO
then click the
search button
31
TC-5 The input of the Enter the wrong Display the Wrong success
REGNO is must be data and check message input
available on the the Radio button “wrong
database near REGNO input”
then click the
search button
TC-6 Search the all data check the Radio All Data Data success
from the database by button near all are fetched fetched
click the search information then
button click the search
button
TC-7 Print the data grid Click on the print Print the Printed success
view when click the button after data data grid
print button fetching view
32
FUTURE IMPLEMENTS
In near future, the system interface could be improved, with more
attractive, interactive and meaningful images; enhance the system with an email
and SMS or email notifications. Enhance the current system by computerizing
almost all the services provided by the institution, turning it into a complete LMS.
Creating & Changing Issues at ease
Query Issue List to any depth
User Accounts to control the access and maintain security
Simple Status & Resolutions
Targets & Milestones for guiding the programmers
Attachments & Additional Comments for more information
Various level of reports available with a lot of filter criteria’s
It contain better storage capacity.
Accuracy in work.
Easy & fast retrieval of information.
Well designed reports.
33
CONCLUSION
.
34
CHAPTER – 5
CONCLUSION
Student result management system is an online website and can be used at
any place, any time and by any student or faculty. This application will avoid the
calculation and simplify the process of visualizing results by students as well as
faculty.
Our project is only a humble venture to satisfy the needs to manage their
project work. Several user friendly coding have also adopted. This package shall
prove to be a powerful package in satisfying all the requirements of the school.
The software planning is to provide a frame work that enables the manger
to make reasonable estimates made within a limited time frame at the beginning of
the software project and should be updated regularly as the project progresses.
BIBLIOGRAPHY
Google for problem solving
https://www.tutorialspoint.com/vb.net/index.htm
https://www.guru99.com/vb-net-tutorial.html
https://support.microsoft.com/en-us/office/access-2013-
videos-and-tutorials-a4bd10ea-d5f4-40c5-8b37-
d254561f8bce
https://www.tutorialspoint.com/ms_access/index.htm
https://b-u.ac.in/sites/b-
u.ac.in/files/Notice_Board/Syllabus/exam_regulations_2021
_new.pdf
35
APPENDICES
A.DATA FLOW DIAGRAM
36
B.TABLE STRUCTURE
TABLE 1: student
TABLE 2: academic
37
C. SAMPLE CODING
Coding for the login page
Public Class Form2
Code for checkbox
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cb1.CheckedChanged
If cb1.Checked = True Then
tbpassword.UseSystemPasswordChar = False
Else
tbpassword.UseSystemPasswordChar = True
End If
End Sub
Code for login button
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles btnlogin.Click
If tbuserid.Text = "admin" And tbpassword.Text = "csdept" Then
MsgBox("login successfully")
Form3.Show()
Else
MsgBox("login failed")
End If
End Sub
Code for exit button
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles btnexit.Click
End
End Sub
End Class
38
Coding for the dashboard form
Public Class Form3
Code for student information button
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Form4.Show()
End Sub
Code for end button
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button5.Click
End
End Sub
Code for academic information button
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
Form5.Show()
End Sub
Code for student information viewer button
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
Form7.Show()
End Sub
Code for student marklist viewer button
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
Form6.Show()
End Sub
End Class
39
Coding for the student information entry form
Imports System.Data.OleDb
'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\SRMS.accdb
cn.Open()
str = "insert into
student(REGNO,name,department,academicyear,dob,gender,fathername,community,address,dist
rict,state,email,phone) values ('" & tbrn.Text & "','" & tbname.Text & "','" & tbdep.Text & "','" &
tbay.Text & "','" & tbdob.Text & "','" & tbgen.Text & "','" & tbfn.Text & "','" & tbcom.Text &
"','" & tbadd.Text & "','" & tbdt.Text & "','" & tbst.Text & "','" & tbmail.Text & "'," & tbph.Text
& ")"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
MsgBox("added")
cn.Close()
End Sub
40
Code for addnew button
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
tbname.Clear()
tbdob.Clear()
tbfn.Clear()
tbadd.Clear()
tbdt.Clear()
tbst.Clear()
tbrn.Clear()
tbay.Clear()
tbmail.Clear()
tbph.Clear()
End Sub
Code for update button
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
If RadioButton2.Checked = True Then
cn.Open()
str1 = "update student set name='"&tbname.Text& "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton3.Checked = True Then
cn.Open()
str1 = "update student set dob='" &tbdob.Text & "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton4.Checked = True Then
cn.Open()
str1 = "update student set gender='" & tbgen.Text & "' where REGNO='"&tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton5.Checked = True Then
cn.Open()
str1 = "update student set fathername='"&tbfn.Text&"' where REGNO='& tbrn.Text& "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
41
ElseIf RadioButton6.Checked = True Then
cn.Open()
str1="update student set community='"&tbcom.Text&"' where REGNO='"&
tbrn.Text&"'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton7.Checked = True Then
cn.Open()
str1 = "update student set address='" & tbadd.Text & "' where REGNO='"&tbrn.Text&"'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton8.Checked = True Then
cn.Open()
str1 = "update student set district='" & tbdt.Text & "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton9.Checked = True Then
cn.Open()
str1 = "update student set state='" & tbst.Text & "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton10.Checked = True Then
cn.Open()
str1 = "update student set academicyear='"&tbay.Text&"' where
REGNO='"&tbrn.Text&"'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
ElseIf RadioButton11.Checked = True Then
cn.Open()
str1 = "update student set email='"&tbmail.Text & "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
42
ElseIf RadioButton12.Checked = True Then
cn.Open()
str1 = "update student set phone='" & tbph.Text & "' where REGNO='" & tbrn.Text & "'"
cmd1 = New OleDbCommand(str1, cn)
cmd1.ExecuteNonQuery()
MsgBox("updated")
cn.Close()
Else
MsgBox("SELECT WHAT DO YOU WANT TO UPDATE..")
End If
End Sub
'TODO: This line of code loads data into the 'SRMSDataSet.academic' table. You can
move, or remove it, as needed.
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd3 As New OleDbCommand("select REGNO from student", cn)
Dim da As New OleDbDataAdapter(cmd3)
Dim ds1 As New DataSet
da.Fill(ds1)
Dim column1 As New AutoCompleteStringCollection
Dim i As Integer
For i = 0 To ds1.Tables(0).Rows.Count - 1
column1.Add(ds1.Tables(0).Rows(i)("REGNO").ToString)
Next
tbrn.AutoCompleteSource = AutoCompleteSource.CustomSource
tbrn.AutoCompleteCustomSource = column1
tbrn.AutoCompleteMode = AutoCompleteMode.SuggestAppend
43
If CheckBox1.Checked = True Then
RadioButton2.Visible = True
RadioButton3.Visible = True
RadioButton4.Visible = True
RadioButton5.Visible = True
RadioButton6.Visible = True
RadioButton7.Visible = True
RadioButton8.Visible = True
RadioButton9.Visible = True
RadioButton10.Visible = True
RadioButton11.Visible = True
RadioButton10.Visible = True
RadioButton11.Visible = True
RadioButton12.Visible = True
Else
RadioButton2.Visible = False
RadioButton3.Visible = False
RadioButton4.Visible = False
RadioButton5.Visible = False
RadioButton6.Visible = False
RadioButton7.Visible = False
RadioButton8.Visible = False
RadioButton9.Visible = False
RadioButton10.Visible = False
RadioButton11.Visible = False
RadioButton10.Visible = False
RadioButton11.Visible = False
RadioButton12.Visible = False
End If
End Sub
End Sub
44
Code for end button
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button7.Click
End
End Sub
Code for checkbox
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = True Then
RadioButton2.Visible = True
RadioButton3.Visible = True
RadioButton4.Visible = True
RadioButton5.Visible = True
RadioButton6.Visible = True
RadioButton7.Visible = True
RadioButton8.Visible = True
RadioButton9.Visible = True
RadioButton10.Visible = True
RadioButton11.Visible = True
RadioButton10.Visible = True
RadioButton11.Visible = True
RadioButton12.Visible = True
Else
RadioButton2.Visible = False
RadioButton3.Visible = False
RadioButton4.Visible = False
RadioButton5.Visible = False
RadioButton6.Visible = False
RadioButton7.Visible = False
RadioButton8.Visible = False
RadioButton9.Visible = False
RadioButton10.Visible = False
RadioButton11.Visible = False
RadioButton10.Visible = False
RadioButton11.Visible = False
RadioButton12.Visible = False
End If
End Sub
End Class
45
Coding for the academic details entry form
Imports System.Data.OleDb
End Sub
46
Code for form load
Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'SRMSDataSet.academic' table. You
can move, or remove it, as needed.
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd3 As New OleDbCommand("select REGNO from student", cn)
Dim da As New OleDbDataAdapter(cmd3)
Dim ds1 As New DataSet
da.Fill(ds1)
Dim column1 As New AutoCompleteStringCollection
Dim i As Integer
For i = 0 To ds1.Tables(0).Rows.Count - 1
column1.Add(ds1.Tables(0).Rows(i)("REGNO").ToString)
Next
tbrn.AutoCompleteSource = AutoCompleteSource.CustomSource
tbrn.AutoCompleteCustomSource = column1
tbrn.AutoCompleteMode = AutoCompleteMode.SuggestAppend
End Sub
End Sub
47
Code for save button
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\SRMS.accdb
cn.Open()
str = "insert into
academic(REGNO,ugpg,semester,subject,internalmark,externalmark,totalmark) values('"
& tbrn.Text & "','" & CBugpg.Text & "','" & CBsem.Text & "','" & cbsub.Text & "'," &
tbim.Text & "," & tbem.Text & "," & tbtm.Text & ") "
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
MsgBox("added")
cn.Close()
End Sub
48
Code for comboboxes to the list items
Private Sub CBsem_SelectedIndexChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CBsem.SelectedIndexChanged
If CBsem.SelectedItem = "1" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("LANGUAGE-I")
cbsub.Items.Add("ENGLISH-I")
cbsub.Items.Add("COMPUTING FUNDAMENTALS AND C
PROGRAMMING")
cbsub.Items.Add("DIGITAL FUNDAMENTALS AND COMPUTER
ARCHITECTURE")
cbsub.Items.Add("PROGRAMING LAB-C")
cbsub.Items.Add("ENVIRONMENTAL STUDIES")
ElseIf CBsem.SelectedItem = "2" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("LANGUAGE-II")
cbsub.Items.Add("ENGLISH-II")
cbsub.Items.Add("C++ PROGRAMMING")
cbsub.Items.Add("PROGRAMMING LAB-C++")
cbsub.Items.Add("INTERNET BASICS")
cbsub.Items.Add("DISCRETE MATHEMETICS")
cbsub.Items.Add("VALUE EDUCATION-HUMAN RIGHTS")
ElseIf CBsem.SelectedItem = "3" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("DATA STRUCTURE")
cbsub.Items.Add("JAVA PROGRAMMING")
cbsub.Items.Add("PROGRAMMING LAB-JAVA")
cbsub.Items.Add("COMPUTER BASED OPTIMIZATION TECHNIQUES")
cbsub.Items.Add("SOFTWARE ENGINEERING AND SOFTWARE PROJECT
MANAGEMENT SYSYTEM")
cbsub.Items.Add("YOGA FOR HUMAN EXCELLENCE/WOMEN'S RIGTHS")
ElseIf CBsem.SelectedItem = "4" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("SYSYTEM SOFTWARE AND OPERATING SYSTEM")
cbsub.Items.Add("LINUX AND SHELL PROGRAMMING")
cbsub.Items.Add("LINUX AND SHELL PROGRAMMING-LAB")
cbsub.Items.Add("BUSINESS ACCOUNTING")
cbsub.Items.Add("SOFTWARAE PROJECT MANAGEMNET-LAB")
cbsub.Items.Add("GENERAL AWARNESS")
ElseIf CBsem.SelectedItem = "5" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("RDBMS & ORACLE")
cbsub.Items.Add("VISUAL BASIC")
cbsub.Items.Add("PROGRAMMING LAB- VB&ORACLE")
cbsub.Items.Add("PYTHON PROGRAMMING")
cbsub.Items.Add("SOFTWARE TESTING")
49
ElseIf CBsem.SelectedItem = "6" And CBugpg.SelectedIndex = 0 Then
cbsub.Items.Clear()
cbsub.Items.Add("GRAPHICS AND MULTIMEDIA")
cbsub.Items.Add("PROJECT WORK LAB")
cbsub.Items.Add("PROGRAMMING LAB-GRAPHICE AND MULTIMEDIA")
cbsub.Items.Add("ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEM")
cbsub.Items.Add("SOFTWARE TESTING LAB")
cbsub.Items.Add("EXTENSION ACTIVITIES")
ElseIf CBsem.SelectedItem = "1" And CBugpg.SelectedIndex = 1 Then
cbsub.Items.Clear()
cbsub.Items.Add("ANALYSIS & DESIGN OF ALGORITHM")
cbsub.Items.Add("OBJECT ORIENTED ANALYSIS AND DESIGN&C++")
cbsub.Items.Add("PYTHON PROGRAMMING")
cbsub.Items.Add("ADVANCED SOFTWARE ENGINEERING")
cbsub.Items.Add("ALGORITHM AND OOPS LAB")
cbsub.Items.Add("PYTHON PROGRAMMING LAB")
ElseIf CBsem.SelectedItem = "2" And CBugpg.SelectedIndex = 1 Then
cbsub.Items.Clear()
cbsub.Items.Add("DATA MINNING AND WAREHOUSING")
cbsub.Items.Add("ADVANCED OPERATING SYSYTEM")
cbsub.Items.Add("ADVANCED JAVA PROGRAMMING")
cbsub.Items.Add("ARTIFICIAL INTELLIGENCE & MACHINE LEARNING")
cbsub.Items.Add("ELECTIVE -I")
cbsub.Items.Add("DATA MINING LAB USING R")
cbsub.Items.Add("ADVANCED JAVA PROGRAMMING LAB")
ElseIf CBsem.SelectedItem = "3" And CBugpg.SelectedIndex = 1 Then
cbsub.Items.Clear()
cbsub.Items.Add("DIGITAL IMAGE PROCESSING")
cbsub.Items.Add("CLOUD COMPUTING")
cbsub.Items.Add("NETWORK SECURITY AND CRYPTOGRAPHY")
cbsub.Items.Add("DATA SCIENCE & ANALYTICS")
cbsub.Items.Add("DIGITAL IMAGE PROCESSING LAB USING MATLAB")
cbsub.Items.Add("ELECTIVE-II")
cbsub.Items.Add("CLOUD COMPUTING LAB")
cbsub.Items.Add("WEB APPLICATION DEVELOPMENT & HOSTING")
ElseIf CBsem.SelectedItem = "4" And CBugpg.SelectedIndex = 1 Then
cbsub.Items.Clear()
cbsub.Items.Add("PROJECT WORK AND VIVA-VOCE")
Else
CBsem.Items.Clear()
CBsem.Items.Add("slect the semester box")
End If
End Sub
50
Code for calculate button
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button6.Click
If (Val(tbin1.Text) > 30 Or Val(tbin1.Text) < 0) Then
MsgBox("invalid input please input correct value for internal 1")
ElseIf (Val(tbin2.Text) > 30 Or Val(tbin2.Text) < 0) Then
MsgBox("invalid input please input correct value for internal 2")
ElseIf (Val(tbmod.Text) > 50 Or Val(tbmod.Text) < 0) Then
MsgBox("invalid input please input correct value for model")
ElseIf (Val(tbsemi.Text) > 10 Or Val(tbsemi.Text) < 0) Then
MsgBox("invalid input please input correct value for seminar")
ElseIf (Val(tbass.Text) > 5 Or Val(tbass.Text) < 0) Then
MsgBox("invalid input please input correct value for assignment")
ElseIf (Val(tbother.Text) > 5 Or Val(tbother.Text) < 0) Then
MsgBox("invalid input please input correct value for others")
Else
tbim.Text = (Val(tbin1.Text) + Val(tbin2.Text) + Val(tbmod.Text) +
Val(tbsemi.Text) + Val(tbass.Text) + Val(tbother.Text)) * 50 / 130
End If
End Sub
51
Code for calculate button
Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button11.Click
If (Val(tbeva.Text) > 60 Or Val(tbeva.Text) < 0) Then
MsgBox("invalid input please input correct value for test")
ElseIf (Val(tbviva.Text) > 40 Or Val(tbviva.Text) < 0) Then
MsgBox("invalid input please input correct value for observation note")
Else
tbim.Text = Val(tbeva.Text) + Val(tbviva.Text)
End If
End Sub
End Class
52
Coding for the student information viewer page
Imports System.Data.OleDb
Imports System.Data
Me.StudentTableAdapter1.Fill(Me.SRMSDataSet1.student)
'TODO: This line of code loads data into the 'SRMSDataSet.student' table. You can move,
or remove it, as needed.
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd1 As New OleDbCommand("select REGNO from student", cn)
Dim da As New OleDbDataAdapter(cmd1)
Dim ds1 As New DataSet
da.Fill(ds1)
Dim column1 As New AutoCompleteStringCollection
Dim i As Integer
For i = 0 To ds1.Tables(0).Rows.Count - 1
column1.Add(ds1.Tables(0).Rows(i)("REGNO").ToString)
Next
tbrn1.AutoCompleteSource = AutoCompleteSource.CustomSource
tbrn1.AutoCompleteCustomSource = column1
tbrn1.AutoCompleteMode = AutoCompleteMode.SuggestAppend
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd2 As New OleDbCommand("select name from student", cn)
Dim da1 As New OleDbDataAdapter(cmd2)
Dim ds2 As New DataSet
da1.Fill(ds2)
Dim column2 As New AutoCompleteStringCollection
Dim j As Integer
For j = 0 To ds2.Tables(0).Rows.Count - 1
column2.Add(ds2.Tables(0).Rows(j)("name").ToString)
53
Next
tbname1.AutoCompleteSource = AutoCompleteSource.CustomSource
tbname1.AutoCompleteCustomSource = column2
tbname1.AutoCompleteMode = AutoCompleteMode.SuggestApp
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd3 As New OleDbCommand("select academicyear from student", cn)
Dim da2 As New OleDbDataAdapter(cmd3)
Dim ds3 As New DataSet
Da2.Fill(ds3)
Dim column3 As New AutoCompleteStringCollection
Dim k As Integer
For k = 0 To ds3.Tables(0).Rows.Count - 1
Column3.Add(ds3.Tables(0).Rows(k)("academicyear").ToString)
Next
tbay.AutoCompleteSource = AutoCompleteSource.CustomSource
tbay.AutoCompleteCustomSource = column3
tbay.AutoCompleteMode = AutoCompleteMode.SuggestAppend
end
End Sub
End Sub
54
Code for search button
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
If rbrn1.Checked Then
cn.Open()
str = "select * from student where REGNO='" & tbrn1.Text & "'"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rbname1.Checked Then
cn.Open()
str = "select * from student where name='" & tbname1.Text & "'"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rbgen1.Checked Then
cn.Open()
str = "select * from student where gender='" & cbgen1.SelectedItem & "'"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rbcom1.Checked Then
cn.Open()
str = "select * from student where community='" & cbcom1.SelectedItem & "'"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
55
ElseIf rbay.Checked Then
cn.Open()
str = "select * from student where academicyear='" & tbay.text & "'"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
56
Coding for the student mark list viewer page
Imports System.Data.OleDb
Imports System.Data
Dim dr As OleDbDataReader
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd1 As New OleDbCommand("select REGNO from academic", cn)
Dim da As New OleDbDataAdapter(cmd1)
Dim ds1 As New DataSet
da.Fill(ds1)
Dim column1 As New AutoCompleteStringCollection
Dim i As Integer
For i = 0 To ds1.Tables(0).Rows.Count - 1
column1.Add(ds1.Tables(0).Rows(i)("REGNO").ToString)
Next
tbrn1.AutoCompleteSource = AutoCompleteSource.CustomSource
tbrn1.AutoCompleteCustomSource = column1
tbrn1.AutoCompleteMode = AutoCompleteMode.SuggestAppend
cn1.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"
Dim cmd2 As New OleDbCommand("select subject from academic", cn1)
Dim da1 As New OleDbDataAdapter(cmd2)
Dim ds2 As New DataSet
57
da1.Fill(ds2)
Dim column2 As New AutoCompleteStringCollection
Dim j As Integer
For j = 0 To ds2.Tables(0).Rows.Count - 1
column2.Add(ds2.Tables(0).Rows(j)("subject").ToString)
Next
tbsub1.AutoCompleteSource = AutoCompleteSource.CustomSource
tbsub1.AutoCompleteCustomSource = column2
tbsub1.AutoCompleteMode = AutoCompleteMode.SuggestAppend
End Sub
58
Code for search button
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button3.Click
If rbrn1.Checked Then
cn.Open()
str = "select * from academic where REGNO='" & tbrn1.Text & "' order by totalmark
desc"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rbsem1.Checked Then
cn.Open()
str = "select * from academic where ugpg='" & cbugpg1.SelectedItem & "' and
semester='" & cbsem1.SelectedItem & "' order by totalmark desc"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rbsub1.Checked Then
cn.Open()
str = "select * from academic where subject='"&tbsub1.Text &"' order by totalmark desc"
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
cn.Close()
ElseIf rball1.Checked Then
cn.Open()
str = "select * from academic order by totalmark desc "
cmd = New OleDbCommand(str, cn)
cmd.ExecuteNonQuery()
Dim da As New OleDbDataAdapter(cmd)
Dim dt As New DataTable
da.Fill(dt)
DataGridView2.DataSource = dt
59
cn.Close()
End If
End Sub
60
D. SAMPLE INPUT
61
62
These are the pictures of input screen of academic details
63
E. SAMPLE OUTPUT
64