You are on page 1of 75

STUDENT RESULT MANAGEMENT SYSTEM

In partial fulfilment of the requirements for the award of the degree of


Bachelor of Computer Science of Bharathiar University, Coimbatore-46.

PROJECT REPORT
Submitted by
M.BALAGURU
(Reg.No:1922K0132)

Under the Guidance of


Dr S.DURAISAMY MCA., M.Phil., Ph.D.,
Assistant Professor
DEPARTMENT OF COMPUTER SCIENCE
CHIKKANNA GOVERNMENT ARTS COLLEGE
(Affiliated To Bharathiar University Coimbatore)
Tirupur-641602

MAY 2022
CHIKKANNA GOVERNMENT ARTS COLLEGE
(Affiliated To Bharathiar University)
Tirupur-641602

This is to certify that the project work entitled


STUDENT RESULT MANAGEMNT SYSTEM
is the bonafide record of project work done by
M.BALAGURU
(Reg.No:1922K0132)
In partial fulfilment of the requirements for the award of the degree of
Bachelor of Science in Computer Science of Bharathiar University, Coimbatore-46.

Guide Head of the Department

submitted for the viva voce Examination held on _____________

Internal Examiner External Examiner


DECLARATION
.
DECLARATION

M.BALAGURU(1922K0132) hereby declares that the project entitled STUDENT


RESULT MANAGEMENT SYSTEM submitted to Bharathiar University in partial fulfilment
of the requirements for the award of the degree of Bachelor of Science in Computer Science. The
project is a record of original software development carried the by me during the period (2019-
2022) of study in CHIKKANNA GOVERNMENT ARTS COLLEGE under the guidance of
Dr S.DURAISAMY MCA., M.Phil., Ph.D., Assistant Professor, Department of Computer
Science and that this work has not been submitted to any other university for any other degree.

Place: Tirupur Signature of the candidate

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.

Gratitude is the memory of heart I wish to my sincere thanks to our Principal


Dr V.KRISHNAN M.A., M.Phil., Ph.D., because allowing me to have the extensive use of the
college facilities to the Project.

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 like to express my hearty thanks to Dr S.DURAISAMY MCA., M.Phil., Ph.D.,


Assistant Professor, Department of Computer Science CHIKKANNA GOVERNMENT ARTS
COLLEGE Tirupur for his valuable guidance and encouragement during the project work.

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

This project is aimed at developing a software useful for applications developed in an


organization. The Student Result Management System (SRMS) is a VB.Net application that
can be accessed throughout the organization. This software is useful staffs to getting their
information quickly. There are features like student details maintenance, internal calculation,
student information viewer etc in this system.

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

Chapter Description Page


Number
ACKNOWLDGEMENT I

SYNOPSIS II

1 INTRODUCTION 1

1.1 ORGANIZATION PROFILE 3

1.2 SYSTEM SPECIFICATION 4

1.2.1 HARDWARE CONFIGURATION 4

1.2.2 SOFTWARE SPECIFICATION 4

2 SYSTEM STUDY 5

2.1 EXISTING SYSTEM 6

2.1.1 DRAWBACKS OF EXISTING SYSTEM 7

2.2 PROPOSED SYSTEM 8

2.2.1 FEATURES OF PROPOSED SYSTEM 9


3 SYSTEM DESIGN AND DEVELOPMENT 10

3.1 FILE DESIGN 11

3.2 INPUT DESIGN 13

3.3 OUTPUT DESIGN 18

3.4 DATABASE DESIGN 20

3.5 SYSTEM DEVELOPMENT 21

3.5.1 DESCRIPTION OF MODULES A 21

TESTING AND IMPLEMENTATION 23


4

5 CONCLUSION 34

BIBLIOGRAPHY 34

APPENDICES 36

A. DATA FLOW DIAGRAM 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

1.2.1 HARDWARE CONFIGURATION

• Processor :: AMD A6-7350B

• Ram :: 4 GB

• Hard Disk :: 500 GB

• Monitor :: 14 inches LCD

•Mouse :: track pad

1.2.2 SOFTWARE SPECIFICATION


• Operating System :: Windows 10

• Language :: VB.Net

• Name of the software :: Visual Studio 2022

• Database :: Ms Access

4
SYSTEM STUDY
.

5
CHAPTER – 2

SYSTEM STUDY
2.1 EXISTING SYSTEM

Process of existing system getting information of the student is done


by manually. All the needed information are provided by the
administration.

The students want to know the results of the particular subject, they
should wait for long time because work done manually.

The information about their courses, results and other information


accessing is not possible because of the note book registry.

I as mentioned previously, today there exist some computer program


which helps user to find and store basic information such as student’s name
and marks.

Rest all the computational work either needs a different program or is


done manually by faculties of that institution.

 Lack of security of data.


 More man power.
 Time consuming.
 Consumes large volume of pare work.
 Needs manual calculations.
 No direct role for the higher officials

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

The proposed system for “STUDENT RESULT MANAGEMENT


SYSTEM” replacing the manual work of the administration.

This application is portable and can easily access by the staffs. Time
taken for getting the information will be reduces.

It reduce the time of information gathering and calculating.

This software usage the student details are permanently available in


the database.

Proposed approach and its advantage over existing system:


 User friendly
 ALL time availability
 Easy Storage of data.
 More efficient.
 Requires less effort and time.
 Security of data.
 Ensure data accuracy’s.
 Proper control of the higher officials.
 Minimize manual data entry.
 Minimum time needed for the various processing.
 Greater efficiency.
 Better service.
 User friendliness and interactive.
 Minimum time required.

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.

 Product and Component based


 Creating & Changing Issues at ease
 Query Issue List to any depth
 Reporting & Charting in more comprehensive way
 User Accounts to control the access and maintain security
 Simple Status & Resolutions
 Multi-level Priorities & Severities.
 Targets & Milestones for guiding the programmers
 Attachments & Additional Comments for more information
 Robust database back-end
 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.
 Decrease the load of the person involve in existing manual system.
 Access of any information individually.
 Work becomes very speedy.
 Easy to update information

9
SYSTEM DESIGN AND DEVELOPMENT
.

10
CHAPTER – 3

SYSTEM DESIGN AND DEVELOPMENT


3.1 FILE DESIGN

LOGIN AUTHENTICATION PAGE

This is the actual screenshot of the login authentication page.


It contain,
o Two label boxes can be used to display the message
o Two textboxes can be used for getting “username” and “password”
o A checkbox can be used to check the password is correct or not and
also show the password as dotted symbol
o Two buttons can be used,one is for login and another one is exit
Just type the username and the password on the correct textboxes and click on the
login button to go to the next level.
If you want to check the password, just check the checkbox to show to text because
the defautly it not visible.

11
DASHBOARD PAGE.

This is the actual screenshot of the dashboard page.


It contains,
One label box cand be used for display the message
Five buttons can be used for open the below page
 Student information
 Academic information
 Student information viewer
 Student mark list viewer
 End
Uses of the command buttons:
o Student information button - student information entry page
o Academic information button - he academic details enter page
o Student information viewer button - student information viewer page
o Student mark list viewer button – student mark list viewer page

12
3.2 INPUT DESIGN

STUDENT INFRMATION INPUT SCREEN

This is the actual screenshot of the student information entry form


It contains,
o Some of label boxes can be used for display some message.
o 10 textboxes can be used for entering the input
o comboboxes for select the particular list values
o command buttons,
 Addnew - to clear the textboxes for new input
 Save - to save the enter value to the database
 Update - to update what to you want
 Delete - to delete a record on the database
A checkbox can be used for switch to update option

13
STUDENT INFORMATION UPDATION SCREEN

This is the actual screenshot of the student information update screen


First check the updation check box to enable update option
It contain,
This is also as like as the student information entry screen
For additionally here some of Radio button
o Radio button near the name text box - to update name
o Radio button near the d.o.b text box - to update date of birth
o Radio button near the gender combo box - to update gender
o Radio button near the father name text box - to update father name
o Radio button near the community combobox - to update community
o Radio button near the address text box - to update address
o Radio button near the district text box - to update district
o Radio button near the state text box - to update state
o Radio button near the academic year text box – for academic year
o Radio button near the e-mail text box - to update email
o Radio button near the phone text box - to update phone number

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

Commonly this form contain,

This is also as like as the normal core paper

Expesally contain for the internal calculation for the all core practical lab paper

o Some of labels can be used for display some messages.


o Some of textboxes can be use for getting the inputs.
o A command button

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

Commonly this form contain,

This is also as like as the normal core paper

Expesally contain for the internal calculation for the all project work lab paper

o Two of labels can be used for display some messages.


o Two of textboxes can be used for getting the inputs.
o A command button

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

STUDENT INFORMATION VIEWER SCREEN

This is the actual acreenshot of the student information viewer


It contains,
 Some of the labels can be used for display message
 Some of combobox can be used to select a item form the listitem
 text box can be used for enter a data value
 Some Radio button can be used to select the choice to search information
 command button
 Search - to fetch tha data by using the given criteria and display that
into the data grid
 Print - to the data grid view
Uses of the Radio button:
o Radio button near the REGNO label - to search depends on the REGNO
o Radio button near the name label - to search depends on the name
o Radio button near the gender label - to search depends on the gender
o Radio button near the community label - search depends on community
o Radio button near the academic year label - to search repends on year
o Radio button near the all information label - search all data on database
Just select which choice to search the information by using the Radio button, then
enter the input click on the search button

18
STUDENT ACADEMIC INFORMATION VIEWER SCREEN

This is the actual acreenshot of the student mark list viewer


It contains,
 Some of the labels can be used for display message
 Some of combo box can be used to select a item form the listitem
 text box to enter a data value
 Some Radio button can be used to select the choice to search information
 command button
 Search - to fetch tha data by using the given criteria and display that
into the data grid
 Print - to the data grid view
Uses of the Radio button:
o Radio button near the REGNO label - to search depends on the REGNO
o Radio button near the by sem label - to search depends on the semester
o Radio button near the subject label - to search depends on the subject
o Radio button near the all information label - search all data on the database

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

Field Name Data Type

REGNO Short text


Name Short text
Department Short text
Academicteay Short text
DOB Short text
Gender Short text
Fathername Short text
Community Short text
Address Short text
District Short text
State Short text
Email Short text
Phone Number

TABLE 2: academic

Field Name Data Type

REGNO Short text


UGPG Short text
Semester Short text
Subject Short text
Internal mark Number
External mark Number
Total mark Number

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.

ACADEMIC INFORMATION VIEWER


Academic information module is used to view the details that taken from the database.
Here we have some of the options for search the academic 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 “BY NAME” of the student
Check the “by sem” Radio button and select the “ug/pg” and “sem” on the ug/pg
and name combobox
3rd Option - Search by using the “GENDER”
Check the “gender” Radio button and type the “subject” on the subject 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.

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.

User Input Validation Testing


The User input must be validated to confirm to expected values. The fields
should also not be empty.

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

TC-4 Open the internal Select any of That The success


calculation box for normal core calculation calculation
normal core paper paper box is open box is
after selecting that on opened
the subject combo box
TC-5 Open the internal Select any of That The success
calculation box for lab lab paper calculation calculation
after selecting that on box is open box is
the subject combo box opened

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

Field Name Data Type

REGNO Short text


Name Short text
Department Short text
Academicteay Short text
DOB Short text
Gender Short text
Fathername Short text
Community Short text
Address Short text
District Short text
State Short text
Email Short text
Phone Number

TABLE 2: academic

Field Name Data Type

REGNO Short text


UGPG Short text
Semester Short text
Subject Short text
Internal mark Number
External mark Number
Total mark Number

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

Public Class Form4


Dim cn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\SRMS.accdb")
Dim str As String
Dim str1 As String
Dim str2 As String
Dim cmd As New OleDbCommand
Dim cmd1 As New OleDbCommand
Dim cmd2 As New OleDbCommand

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click

'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

Code for formload


Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=E:\Workshop\VS\SRMS\SRMS.accdb"

'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

Code for delete button


Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
cn.Open()
str2 = "delete from student where REGNO='" & tbrn.Text & " '"
cmd2 = New OleDbCommand(str2, cn)
cmd2.ExecuteNonQuery()
MsgBox("Deleted")
cn.Close()

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

Public Class Form5


Dim cn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\SRMS.accdb")
Dim str As String
Dim str1 As String
Dim str2 As String
Dim str3 As String
Dim cmd As New OleDbCommand
Dim cmd1 As New OleDbCommand
Dim cmd2 As New OleDbCommand
Dim cmd3 As New OleDbCommand
Code for combobox
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles CBugpg.SelectedIndexChanged
If CBugpg.SelectedIndex = 0 Then
CBsem.Items.Clear()
CBsem.Items.Add("1")
CBsem.Items.Add("2")
CBsem.Items.Add("3")
CBsem.Items.Add("4")
CBsem.Items.Add("5")
CBsem.Items.Add("6")
Else
CBsem.Items.Clear()
CBsem.Items.Add("1")
CBsem.Items.Add("2")
CBsem.Items.Add("3")
CBsem.Items.Add("4")
End If
End Sub
Code for end button
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
End

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

Code for delete button


Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
cn.Open()
str2 = "delete from academic where REGNO='" & tbrn.Text & " '"
cmd2 = New OleDbCommand(str2, cn)
cmd2.ExecuteNonQuery()
MsgBox("Deleted")
cn.Close()

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

Code for addnew button


Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
tbrn.Clear()
tbin1.Clear()
tbin2.Clear()
tbmod.Clear()
tbim.Clear()
tbem.Clear()
tbtm.Clear()
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

Code for calculate button


Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
tbtm.Text = Val(tbim.Text) + Val(tbem.Text)
End Sub

Code for calculate button


Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
If (Val(tbtest.Text) > 30 Or Val(tbtest.Text) < 0) Then
MsgBox("invalid input please input correct value for test")
ElseIf (Val(tbobs.Text) > 5 Or Val(tbobs.Text) < 0) Then
MsgBox("invalid input please input correct value for observation note")
ElseIf (Val(tbrnote.Text) > 15 Or Val(tbrnote.Text) < 0) Then
MsgBox("invalid input please input correct value for record note")
Else
tbim.Text = (Val(tbtest.Text) + Val(tbobs.Text) + Val(tbrnote.Text))
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

Public Class Form7


Dim cn As New OleDbConnection
Dim cmd As New OleDbCommand
Dim str As String
Dim ds As DataSet
Dim dr As OleDbDataReader

Code for formload


Private Sub Form7_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load

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

Private Sub PrintDocument2_PrintPage(ByVal sender As System.Object, ByVal e As


System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument2.PrintPage
Dim bm As New Bitmap(Me.DataGridView2.Width, Me.DataGridView2.Height)
DataGridView2.DrawToBitmap(bm, New Rectangle(0, 0, Me.DataGridView2.Width,
Me.DataGridView2.Height))
e.Graphics.DrawImageUnscaled(bm, 0, 0)
End Sub
Code for print button
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
PageSetupDialog2.Document = PrintDocument2
PageSetupDialog2.Document.DefaultPageSettings.Landscape = True
PrintPreviewDialog2.Document = PrintDocument2
PrintPreviewDialog2.PrintPreviewControl.Zoom = 1
PrintPreviewDialog2.ShowDialog()

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()

ElseIf rball1.Checked Then


cn.Open()
str = "select * from student"
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()
End If
End Sub
End Class

56
Coding for the student mark list viewer page
Imports System.Data.OleDb
Imports System.Data

Public Class Form6


Dim cn As New OleDbConnection
Dim cn1 As New OleDbConnection
Dim cmd As New OleDbCommand
Dim str As String
Dim ds As DataSet

Dim dr As OleDbDataReader

Code for formload


Private Sub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
'TODO: This line of code loads data into the 'SRMSDataSet3.academic' table. You can
move, or remove it, as needed.
Me.AcademicTableAdapter2.Fill(Me.SRMSDataSet3.academic)

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

Private Sub cbugpg1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles cbugpg1.SelectedIndexChanged
If cbugpg1.SelectedItem = "UG" Then
cbsem1.Items.Clear()
cbsem1.Items.Add("1")
cbsem1.Items.Add("2")
cbsem1.Items.Add("3")
cbsem1.Items.Add("4")
cbsem1.Items.Add("5")
cbsem1.Items.Add("6")
Else
cbsem1.Items.Clear()
cbsem1.Items.Add("1")
cbsem1.Items.Add("2")
cbsem1.Items.Add("3")
cbsem1.Items.Add("4")
End If
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

Private Sub PrintDocument2_PrintPage(ByVal sender As System.Object, ByVal e As


System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument2.PrintPage
Dim bm As New Bitmap(Me.DataGridView2.Width, Me.DataGridView2.Height)
DataGridView2.DrawToBitmap(bm, New Rectangle(0, 0, Me.DataGridView2.Width,
Me.DataGridView2.Height))
e.Graphics.DrawImageUnscaled(bm, 0, 0)
End Sub

Code for print button


Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button4.Click
PageSetupDialog2.Document = PrintDocument2
PageSetupDialog2.Document.DefaultPageSettings.Landscape = True
PrintPreviewDialog2.Document = PrintDocument2
PrintPreviewDialog2.PrintPreviewControl.Zoom = 1
PrintPreviewDialog2.ShowDialog()
End Sub
End Class

60
D. SAMPLE INPUT

These are the pictures of student information entry form

61
62
These are the pictures of input screen of academic details

63
E. SAMPLE OUTPUT

These are the output screens

64

You might also like