Вы находитесь на странице: 1из 60

FACULTY FEEDBACK MANAGEMENT SYSTEM

Submitted in partial fulfillment of the requirements


for the award of the degree of

Bachelor of Computer Applications


To
GuruGobindSinghIndraprasthaUniversity, Delhi

Guide: Submitted by:


Mr. Neeraj Mishra 1.
(

(1)

Institute of Information Technology & Management,


New Delhi – 1100 58
Batch (2011-2014)

1
Certificate

We, & certify that the Summer Training Project Report (BCA-353) entitled “FACULTY

FEEDBACK MANAGEMENT SYSTEM” is done by us and it is an authentic work carried out

by us at Institute of Information Technology & Management (IITM). The matter embodied in

this project work has not been submitted earlier for the award of any degree or diploma to the

best of my knowledge and belief.

1. Signature of the Student 2. Signature of the Student

Date:

Certified that the Project Report (BCA-353) entitled “FACULTY FEEDBACK


MANAGEMENT SYSTEM” done by the above students is completed under my guidance.

Signature of the Guide


Date:
Name of the Guide: MR Designation:

2
ACKNOWLEDGEMENT

I owe a great many thanks to a great many people who helped and supported me during
the writing of this summer training project. I express my gratitude to Dr. Rachita Rana,
Director of Institute of Information Technology and Management, D-Block, Janak Puri,
New Delhi, for extending her inevitable and valuable support to me.
I humbly express a deep thank you to Mr. mannu sharma, myGuide for theproject. I
would take this opportunity to thank sir for guiding and correcting various documents of mine
with attention and care. she has taken immense effort and pain to go through the project and
make necessary corrections as and when needed.

I would also like to thank our Institution and our faculty members without whom this
project would have been a distant reality. I also extend my heartfelt thanks to my family and well
wishers.

1.RONNIE

2. ZIYA KHAN

3
TABLE OF CONTENTS

S. No Topic Page No.


1. Certificate – 1
2. Acknowledgements
3. List of Tables 5
4. List of Figures 6
5. Chapter-1 : Introduction 8
6. * 1. Description of Organisation 8
7. 1.1 Introduction 8
8. 1.2 History of Organization 8
9. 1.3 Objective of Organization 9
10. 1.4 Organization Structure 10
11. 1.5 Function 10
12. 1.9 Software Requirement Specification 12
13. Chapter-2 : System Design 17
14. 1. Physical Description 17
16. 2.1 Block Diagram 17
17. 2.1.1 Processes 18
18. 2.1.2 Input & Output of Each Process 19
19. 2.2 List of Data Elements 19
20. 2.3 Catalogue of Data Element 19
21. 2.4 Physical Specification 19
22. 2.4.1 Use Case Diagram 20
23. 2.4.2 Data Flow Diagram 21
24. a) Context (Zero) Level Diagram 21
25. b) 1st Level Diagram 22
26. c) 2nd Level Diagram 23
27. 2.4.3 Entity Relation Diagram 24
28. 1. a) Database Specification 25
29. 2. b) Data Dictionary 25
30. 3. Interface Design 26
31. 3.1 Input Design 26
32. 3.2 Output Design 26
33. 3.3 Report 27
34. Chapter- 3 : System Development & Testing 32
35. a) Program Development 32
36. b) Testing & Debugging 32
37. Chapter- 4 : Scope of Improvement & Conclusion 59
38. a) Summary 59
40. b) Scope 59

4
41. c) Conclusion 60

LIST OF TABLES
Table Title Page No.
No.
Chapter-2: System Design
1. Database Specification-Login table 24
2. Database Specification-Operator Table 24
3. Database Specification- Attendance Table 24
4. Database Specification- Academic Table 25
5. Database Specification- Extra Curricular Activity Table 25
6. List of Data Element 19
7. Catalogue of Data Element 19

5
LIST OF FIGURES

Figure No Title Page No


Chapter-1: Introduction
1 Organizational Structure 9
Chapter-2: System Design
2 Block Diagram 16
3 Use Case Diagram 20
4 Zero Level DFD 21
5 1st Level DFD 22
6 ER Diagram 23
7 Login 25
8 Home screen 25
9 Academic 26
10 Extra-curricular activity 27
11 Monthly Attendance 28
12 Annual Attendance 29
13 Report 30
Chapter-3: System Development & Testing
14 Login 32
15 Processing Screen 34
16 Home Screen 35
17 Add/Edit Profile 37
18 Academic Profile 43
19 Extra-Curricular Activities 47
20 Profile Report 51
21 Student Attendance 56
22 Attendance Report 57

6
CHAPTER -1
INTRODUCTION

1. Description of Organization

1.1 Introduction

About IITM

The Institute aims to be a Centre of Excellence promoting value based Quality Education in
the emerging areas of advanced professional studies in Information Technology &
Management, The Institute is centrally located in the "Janakpuri Institutional Area", D-28,
well connected by road and Metro public transport and provides modern infrastructure for
sustained teaching learning.
The Institute follows 'Process Management Approach' which facilitates effective
implementation of each process and it's monitoring. Both the stakeholders, the faculty and
the students, share the vision and mission of the institute and are active participants in their
implementation.
Dedicated faculty implements teaching-learning process at IITM through rigorous planning,
keeping in view the industry needs. Students undergo classroom lectures, tutorials, case
studies, assignments, seminars, workshops, multimedia presentations, and expert lectures by
eminent persons from the industry and academia. A unique personality development module
is integrated with the syllabi to develop the soft skills of the students. Students punctiliously
participate in co-curricular and extra-curricular activities.

The Web
Institute have a website http://www.iitmkp.org/ maintained by the Radix Info Solutions.

1.2 HISTORY

The "Institute of Information Technology and Management" was setup in 1999 by Mata
Leelawati Shikshan Sansthan, a registered education society, engaged in various philanthropic
activities, with Shri T. N. Chaturvedi, a Padma Vibhushan awarded, as the founder President of
both the society and the institute. The institute is affiliated with Guru Gobind Singh Indraprastha

7
(GGSIP) University, Delhi for various programme and is approved by All India Council for
Technical Education (AICTE), Ministry of HRD, Government of India.

Courses Offered:

BBA
BCA
MBA
MCA
PGDM

1.3 Organizational objectives, Mission & Vision

Vision

The Institute aims to be a Centre of Excellence promoting value Based Quality Education in the
emerging areas of advanced Professional studies in Information Technology & Management.

Mission

The Institute endeavors to contribute towards meeting the growing demands for competent and
trained Information Technology professionals, Software Engineers and the World Class
Managers.

Objective

Promote vibrant, intellectual life that cherishes the liberal arts and graduate/professional
education and which exhibits intellectual rigor and practical relevance.
Focus on students and their whole development, education the heart, soul and mind, constituent
with the university’s mission and values.
Integrate principle that embraces human diversity in responding to pressing real-world problems.
Provide curricula and co-curricular that is rigorous and relevant to evolving needs of student.

Key Result Areas (KRAs)

 The most primary KRAs is Nurturing Excellence.


 Providing the best placement facilities.
 Providing student with best technology and environment.
 Promotes cultural activity.
 Promote all round development of the student.

8
 Assisting professional committee

1.1.4 Organizational structure

CHAIRMAN

DIRECTOR

DEPUTY PROGRAM
DIRECTOR DIRECTOR

MENTOR
ADMINSITRA
TOR CO-
ORDINATOR
FACULTY
ACADEMIC
STAFF
STUDENT

Fig. 1

ORGANISATIONAL STRUCTURE

1.1.5 Functions/activities of organization in reference to the information system under Study:

i. Log in to the Account.


ii. View, modify or cancel student records
iii. Add new student records or update the existing student records.
iv. Update information about addition student records, add new Student profile, drop
existing student records, etc.

9
Background Details

The recent advancement in technology enables the user and the client to interact almost
spontaneously. However the same has not been implemented across the various fields of
departments. Field help in quick communication between teachers and the students as well as
between One of the departments is the educational institutes, the implementation of the
technology in this teachers and the administration department to minimize the communication
gap. The following are the findings:
The main website of the organization is synergetic. However it gives a background detail of the
system and how it works.
The main page about the organization is hard to find, a guest user need to click thrice to visit the
about us page which is quiet unimpressive.
The home page of the organization website is very simple but synergistic.
Description of proposed information system – A brief description of all processes & sub
processes in narrative form

The major processes which goes on this system are:

Process 1 -Login process :

In login process, there would be logins for only operator.After operator log in to the system,
operator can view the reports of the students.
This process involves only authenticated user of the information system to login into the system
by entering their user name and passwords.

Process 2 – Student Management

In this process the operator can add or delete or update the student details. Here in this process
we have combined student’s personal details, academic details, and details of co-curricular/
extra-curricular activities.

Process 3-Student Attendance:

In this, the operator can update and manage each student’s regular attendance.

Process 4 - Reportgeneration:

In this,the complete report of the student can be viewed including his personal details, academic
details and list of his co-curricular activities.

Operator:

Operator can be anybody the part of the organization running the system with the authentic
username and password.

10
1.3 A System Requirements Specification is a structured collection of information that
embodies the requirements of a system. The System Requirements Specification (SRS)
document describes all data, functional and behavioral requirements of the software under
production or development. It is a detailed statement of the effects that a system is required to
achieve. A good specification gives a complete statement of what the system is to do, without
making any commitment as to how the system is to do it: it constrains only the externally
observable behavior and omits any design or implementation bias.

The typical objectives of a system requirements specification are to:

 Provide an overview of the application’s context and capabilities.


 Formally specify the application’s system-level requirements.
 Document any future planned enhancements.
 Document any open issues, major things to be completed, and assumptions.
 Benefits of formulating a SRS
 The typical benefits of a system requirements specification include:
 It helps to establish a consensus among the application’s stakeholders concerning its system-level
requirements.

A well-specified set of requirements reduces endeavor risks due to poorly analyzed, specified,
and managed requirements.
The requirements specified in the system requirements specification set the scope, size, and
complexity of the application.
The requirements specified in the system requirements specification drive the system
architecture, design, implementation, and testing activities.

Based on the analysis and data presented in Chapter-2, system requirement specifications are
presented in this chapter giving a complete overview of the proper references of sources of data.

Purpose

The main purpose of Software Requirement Specifications Document is to describe in a precise


manner all the capabilities that will be provided by the Software Application “STUDENT
PROFILE MANAGEMENT SYSTEM”. It also states the various constraints which the system
will be abide to.This document further leads to clear vision of the software requirements,
specifications and capabilities. These are to be exposed to the development, testing team and end
users of the software.

Definitions, Acronyms, Abbreviations

The following abbreviations have been used throughout this document:

11
IT: Information Technology
SPMS:STUDENT PROFILE MANAGEMENT SYSTEM

ERD: It is an entity relationship diagram used to show the cardinality and relationship between
the different entities into the system database.

References

The following websites were referenced for illustrative details in the development of this
Information System:
www.iitmipu.ac.in
www.google.com
www.iitmjp.ac

Overview

The rest of this SRS document describes the various system requirements, interfaces, features
and functionality in detail.

Overall Description of Proposed System

The project has been developed to fulfill the requirements of the student management system.
This system provides to create & update information and generate a complete record of student
kept in this management system.

Product Perspective

The application will be windows-based, self contained and independent software product.

Front End Client


Application (with Backend
data entry / update Database
/delete /view and
reporting facility)

Interaction of Product with the Environment

Assumptions and Dependencies

The application is developed on the following assumptions.

12
The SPMS assumes that all the users are familiar with windows and can perform the work of
data insertion easily along with all the basic operations those which are supposed to be perform
on any database.
The SPMS will require some occasional supervision of a trained administrator to verify its
correctness upon the system update

System Interfaces

None

User Interfaces

The application will have a user friendly and menu based interface. Following screens will be
provided.

(i) A registered screen for entering student profile and other entries for the record
keeping of a student.

Hardware Interfaces

None

Software Interfaces

(i) Any windows- based operating system(Windows 95/98/2000/XP/NT/7)


(ii) Microsoft SQL Server 2008 as the DBMS-for database.
(iii)Visual Studio 2010 -for coding and developing the software.

Communication Interfaces

None

Memory Constraints
1.Minimum 500 MHz Processor, RAM 128 MB machine.
2.One high density CD-ROM.
3.One Hard-Disk. (150MB require space)

Operations

This product will not cover any automated housekeeping aspects of database. The DBA at
client site will be manually deleting old/ non required data. Database backup and recovery
will also have to be handled by DBA.

Specific Requirements

13
This section contains the software requirements to a level of detail sufficient to enable
designers to design the system, and testers to test the system.

User Characteristics

a. Educational Level: At least graduate and should be comfortable with English


language.
b. Technical Expertise: Should be a high or middle level employee of the organization
comfortable with using general purpose applications on a computer

Product Functions

The system will allow access only to authorized users with specific roles (Operator).
A summary of the major functions that the software will perform:
(i) A login facility for enabling only authorized access to the system.
(ii) User (with role Operator) will be able to generate reports.
(iii) User (with role Operator) will be able to ‘Reset’ the system-leading to deletion of all
existing information from the backend database
(iv) User (with role Operator) will be able to create/modify/delete new/existing
Student’sdetails.

Performance Requirements

None

Logical Database Requirements

The following information will be placed in a database:

1.) LOGIN TABLE : username , password


2.) STUDENT MANAGEMENT TABLE:name,student id, course, address, phone
no., dob, mother’s name, father’s name, mother’s mobile number, father’s mobile
number.
3.) STUDENT ATTENDANCE TABLE:student id, month, subject, total classes,
class attended.
4.) REPORT TABLE : student id

Design Constraints

Standard Compliance

None

14
Reliability

This application is a reliable product that produces fast and verified output of all its processes.

Availability

This application will be available to use Student Profile Management System and help them to
carry out their operations conveniently.

Security

The application will be password protected. User will have to enter correct username, password
and role in order to access the application.

Maintainability

The application will be designed in a maintainable manner. It will be easy to incorporate new
requirements in the individual modules.

Portability

The application will be easily portable on any windows-based system that has SQL installed.

Other Requirements

None

15
Chapter – 2

System Design

2.1 Description of Information System:

2.1. Functional ‘Block Diagram’.

A bock diagram is a specialized, high-level type of flowchart. Its highly structured form
presents a quick overview of major process steps and key process participants, as well as
the relationships and interfaces involved. Block diagram is a diagram of a system, in
which the principal parts or functions are represented by blocks connected by lines that
show the relationships of the blocks.
Identification of all elements during the initial stage of a process helps to ensure that the
team contains all the people necessary to continue with the task. In many cases detailed
drawings and/or hardware are not available and the block diagram serves to visualize the
system and identify its interdependencies
It is a simple pictorial representation of a system/sub-systems linked to illustrate the
relationships between components/subsystems. A block diagram of the information
system under study with all operational processes has been drawn below:

Fig 2

16
2.2 PROCESSES(Input And Output)

The various inputs and outputs of all processes included in out information system have
been illustrated as follows:

1. Login

OUTPUT NAME: LOGIN


Field Name Field Type Field size Description
Login VARCHAR 10 Login by operator
will store the
database of student

Table No-1: Login

2. Operator table

S.No. Field name Data Type Description

1. User name Varchar Store user name for checking correct username

2. Password Varchar Store password corresponding to username

Table No-2: Operator Table

3. Attendance table

S.No. Field name Data Description


Type

1. Student Name Char Name of Student

2. Student Id Varchar Unique Id of student

3. Aggregate Int Total number of percentage by particular


Student

17
4.. Month Date Keep records of the month

Table No-3: Academics Table

4. Student Table

S.No. Field name Data Description


Type

1. Student Id Number This is the roll no of the student

2. Student name Text This is the name of student

3. Course Text This is the course in which the students are studying .By
default course is BCA

4. Address varchar Address of the student

5. Contact Var Contact information of student


number

Table No-4: Student Table

5. Curricular Activity

S.No. Field name Data Description


Type

1. Activities Char All activities done by student in his college carrier

Table No-5:Curricular Activity

18
2.5 List of Data Elements

This section comprises of the various data items connected with each Input and Output identified
in the Information System. It is the Catalogue of data elements to be presented in tabular form
listed as below:

Table name Data elements


LOGIN Username , password
STUDENT MANAGEMENT name, student id, course, address, phone no., dob,
mother’s name, father’s name, mother’s mobile
number, father’s mobile number.

ATTENDANCE MANAGEMENT Student id, month, subject, total classes, class


attended.

2.5.1 Catalogue of Data Element

Process name Input output


Login Username , password Respective screens
Student Management Student details Data Recorded
Attendance Management Attendance Details Data Recorded
Report generation StudentID report

2.6 PHYSICAL SPECIFICATIONS

The Physical Specifications of the System include a diagrammatic representation of the


relationship between various inputs, outputs, processes and entities functional in the system.

19
2.6.1 Use Case Diagram

A use case diagram at its simplest is a representation of a user's interaction with the system and
depicting the specifications of a use case. A use case diagram can portray the different types of
users of a system and the various ways that they interact with the system. This type of diagram is
typically used in conjunction with the textual use case and will often be accompanied by other
types of diagrams as well.

Fig. 3

Use Case Diagram

2.6.2 DATA FLOW DIAGRAMS

A data-flow diagram (DFD) is a graphical representation of the "flow" of data through


an information system. DFDs can also be used for the visualization of data
processing (structured design).On a DFD, data items flow from an external data source or
an internal data store to an internal data store or an external data sink, via an internal
process.

20
Context Level Diagram- Level 0 DFD
On the context diagram (also known as the Level 0 DFD) the system's interactions with
the outside world are modeled purely in terms of data flows across the system boundary. This
level shows the overall context of the system and its operating environment and shows the whole
system as just one process.

Fig.4

Level-0 DFD

In a first-level DFD, the relationship of the system with its environment must be preserved.
i.e. data flow in and out of the system in the Level 1 DFD must be exactly the same as those data
flows in Level 0.
In case new data flows required in Level 1 DFD, then it must be reflected in Level 0 DFD also.

21
Fig.5

Level-1 DFD

22
Cardinality

Cardinality is the specification of the number of occurrences of one [object] that can be related to
the number of occurrences of another [object]. Cardinality is usually expressed as simply 'one' or
'many.' For example, a husband can have only one wife (in most cultures), while a parent can
have many children. Taking into consideration all combinations of 'one' and 'many,' two [objects]
can be related as

• One-to-one (l:l):An occurrence of [object] 'A' can relate to one and only one occurrence of
[object] 'B,' and an occurrence of 'B' can relate to only one occurrence of 'A.'

• One-to-many (l:N):One occurrence of [object] 'A' can relate to one or many occurrences of
[object] 'B,' but an occurrence of 'B' can relate to only one occurrence of 'A.'For example, a
mother can have many children, but a child can have only one mother.

• Many-to-many (M:N):An occurrence of [object] 'A' can relate to one or more occurrences of
'B,' while an occurrence of 'B' can relate to one or more occurrences of 'A’. For example, an
uncle can have many nephews, while a nephew can have many uncles.

Fig.6

23
2.6.3 Entity Relation Diagram (ERD)
An entity-relationship(ER) diagram, a graphical representation of entities and their relationships
to each other, typically used in computing in regard to the organization
of data within databases or information systems. An entity is a piece of data-an object or concept
about which data is stored.
A relationship is how the data is shared between entities. There are three types of relationships
between entities:

2.7 Database Specifications

The Information System of ‘STUDENT PROFILE MANAGEMENT SYSTEM’ performs its


function with the help of the data store in certain repositories called Databases of the System.
Detailed descriptions of the various databases included in the information system are tabulated as
follows:

2.7.1 Login table

Field name Field code Field type Size Description


Username Username Varchar 20 Username
Password Password Varchar 20 password

STUDENT MANAGEMENT TABLE

Field name Field code Field type Size description


Father’s Name Father’scname Varchar 5 Name of father
Name sName Varchar 20 Name of
student
Mother’s name Mother’sname Varchar 20 Name of
mother
Course Coursename Varchar 20 Name of
course
Address Address Varchar 50 Address of the
student
StudentID SubjectID Varchar 10 ID of student
Phone Number Phn no. Int 10 Contact
number of
student

STUDENT ATTENDANCE TABLE

Filed name Field code Type Description


Student id Student id Integer Unique key
Month Month Char (10) Month wise attendance
Subject Subject Varchar(10) subject wise attendance
Total classes Total classes Integer Total classes of the
session
Classes attended Classes attended Integer Classes attended by
student

24
3 INTERFACE DESIGN

The interface design consists of the input and output source layouts. i.e., the input forms
and screens and the report layouts that form as a source of outcome and income in the
design and implementation of the information system under study

3.1 Input Design


The input specifications of the existing information system include the illustration of the
detailed characteristics of contents included in each Input Screen and documents. The
description for each graphical user interface has been mentioned.

LOGIN PAGE :
IT is the main login page where the user enters admin or student userID and password. Through
the userId and passwords , the user is directed to the respective forms.

Fig.7

25
Fig.8
Add Edit Profile Form

After logging the operator’s userID and password , the operator can now add or edit the personal
details of the student

Fig.9
Academic Details Form :

Here, in this form the operator allocates the academics to their respective database.

26
Fig 10
ACTIVITY FORM :

Here , the Operator can add or edit details of each student’s hobbies and co curricular activities.

27
Fig.11

28
Fig.12

29
Fig.13

30
Fig.14

31
Chapter – 3
Systems Development & Testing

Purpose: To carry out the activities of writing actual programs, their debugging, testing and
validation. Following activities are to be carried out:
(a) Programme Development:

LOGIN PAGE:

Input form

Validation Check

Fig. 15

Coding :

Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing

32
Imports System.Text
Imports System.Windows.Forms
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO
Imports System.Web
Imports System.Collections
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports System.Configuration

PublicClassForm1
Private con As SqlClient.SqlConnection
Private cmd As SqlClient.SqlCommand
Private dAdapter As SqlClient.SqlDataAdapter
Private myConn As SqlClient.SqlConnection
Private ConnectionString AsString = ConfigurationManager.ConnectionStrings(“conString”).ConnectionString
‘ private SqlConnection myConn;
Private myc As SqlClient.SqlCommand
‘ private SqlDataAdapter dAdapter;
Private dr As SqlClient.SqlDataReader
Public inscmd AsString
Public inscmd1 AsString
Public delcmd AsString
PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Me.Close()

EndSub
PrivateSub login()
myConn = New SqlClient.SqlConnection(ConnectionString)
myConn.Open()

inscmd = (“SELECT Uname,Password FROM login WHERE Uname=’” + TextBox1.Text + “’ and Password=’” +
TextBox2.Text + “’”)
myc = New SqlClient.SqlCommand(inscmd, myConn)

dr = myc.ExecuteReader()
While dr.Read()

If (dr(“Uname”).ToString() = TextBox1.Text) AndAlso (dr(“Password”).ToString() = TextBox2.Text) Then

‘MessageBox.Show(“Welcome”);
‘this.Close();
Me.Hide()

Me.WindowState = FormWindowState.Minimized

Form2.Show()

‘Form2().Show()
Else

MessageBox.Show(“Wrong Details”)

EndIf
EndWhile

33
myConn.Close()

textBox1.Text = “”
textBox2.Text = “”
‘label3.Visible = false;

End Sub
EndClass

Processing Screen

Fig. 16

CODING

PublicClassForm2
Dim i AsInteger = 0
Dim j AsInteger = 0

PrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick


ProgressBar1.Value = i
Label2.Text = “Remaining time is:”&CStr(50 – j) + “Seconds”
i=i+2
j=j+1
If i > 100 Then
Form3.Show()
Me.Hide()
Timer1.Enabled = False
EndIf
EndSub

34
PrivateSub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

EndSub
EndClass

Home Screen

Fig. 17
CODING:

PublicClassForm3

PrivateSub AddOrEditPersonalDetailToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles AddOrEditPersonalDetailToolStripMenuItem.Click
Form4.Show()

EndSub

PrivateSub AddOrEditAcademicDetailToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles AddOrEditAcademicDetailToolStripMenuItem.Click
Form5.Show()

EndSub

PrivateSub AddOrEditExtraCurricularDetailToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles AddOrEditExtraCurricularDetailToolStripMenuItem.Click
Form6.Show()

EndSub

35
PrivateSub ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
ToolStripMenuItem1.Click
Form7.Show()

EndSub

PrivateSub ToolStripMenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


ToolStripMenuItem2.Click

EndSub

PrivateSub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


ExitToolStripMenuItem.Click
Me.Close()
Form1.Show()

EndSub

PrivateSub AttendanceToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles AttendanceToolStripMenuItem.Click
Form8.Show()

EndSub

PrivateSub ReportToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


ReportToolStripMenuItem.Click
Form9.show()

EndSub

PrivateSub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

EndSub
EndClass

36
STUDENT MANAGEMENT FORMS :

Fig. 18

CODING :

Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO
Imports System.Web
Imports System.Collections
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports System.Configuration
PublicClassForm4

37
Private con As SqlClient.SqlConnection
Private cmd As SqlClient.SqlCommand
Private dAdapter As SqlClient.SqlDataAdapter
Private myConn As SqlClient.SqlConnection
Private ConnectionString AsString = ConfigurationManager.ConnectionStrings(“conString”).ConnectionString
‘ private SqlConnection myConn;
Private myc As SqlClient.SqlCommand
‘ private SqlDataAdapter dAdapter;
Private dr As SqlClient.SqlDataReader
Public inscmd AsString
Public inscmd1 AsString
Public delcmd AsString
PrivateSub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load
studentid()
fillcourse()
DateTimePicker1.Format = DateTimePickerFormat.Short
EndSub

PrivateSub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


RadioButton1.CheckedChanged
TextBox1.Enabled = False
Button1.Visible = False
Button3.Visible = False
Button2.Visible = True

EndSub

PrivateSub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


RadioButton2.CheckedChanged
TextBox1.Enabled = True
TextBox1.Text = “”

Button1.Visible = True

Button3.Visible = True
Button2.Visible = False

EndSub
PrivateSub studentid()

con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select max (cast(sno as int))+1 from student “
myc = NewSqlCommand(inscmd, con)

Try
If myc.ExecuteScalar().ToString() = “”Then

TextBox1.Text = “1”
Else

‘ myConn.Open();
TextBox1.Text = myc.ExecuteScalar().ToString()
EndIf
Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()

38
EndTry

EndSub
PrivateSub fillcourse()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select distinct Course from course order by Course asc “
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

‘DataTable table = new DataTable();


Dim ds AsNewDataSet()
dAdapter.Fill(ds)

‘textBox5.DataBindings.Add(“Text”, table, “Person_name”);


‘label1.DataBindings.Add(“Text”, table, “Company_Name”);
‘ comboBox1.DataBindings.Add(“Text”, table, “Company_Name”);

ComboBox1.DataSource = ds.Tables(0)
ComboBox1.DisplayMember = “Course”
ComboBox1.ValueMember = “Course”

Try
‘ myConn.Open();

myc.ExecuteNonQuery()
Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

EndSub
PrivateSub filldata()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select * from student where sno=’” + TextBox1.Text + “’“
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)

TextBox2.DataBindings.Add(“Text”, table, “sname”)

TextBox3.DataBindings.Add(“Text”, table, “saddress”)


TextBox4.DataBindings.Add(“Text”, table, “phone”)
TextBox5.DataBindings.Add(“Text”, table, “mothername”)

TextBox6.DataBindings.Add(“Text”, table, “mothermobile”)


TextBox7.DataBindings.Add(“Text”, table, “fathername”)
TextBox8.DataBindings.Add(“Text”, table, “fathermobile”)

39
ComboBox1.DataBindings.Add(“Text”, table, “course”)
Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

textBox1.DataBindings.Clear()
textBox2.DataBindings.Clear()
textBox3.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
TextBox4.DataBindings.Clear()
TextBox5.DataBindings.Clear()
TextBox6.DataBindings.Clear()
TextBox7.DataBindings.Clear()
TextBox8.DataBindings.Clear()

EndSub

PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


filldata()
EndSub

PrivateSub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


DateTimePicker1.ValueChanged
DateTimePicker1.Format = DateTimePickerFormat.Short
EndSub
PrivateSub insert()
Dim s1 AsString
s1 = DateTimePicker1.Text

con = NewSqlConnection(ConnectionString)
con.Open()
Dim cmd AsNewSqlCommand(“insert into
student(sno,course,sname,saddress,phone,dob,mothername,mothermobile,fathername,fathermobile)
values(@sno,@course,@sname,@saddress,@phone,@dob,@mothername,@mothermobile,@fathername,@fathermobile)”
, con)
‘ inscmd = “select * from companyprofile where ID=’” + label6.Text + “’”;
‘ myc = new SqlCommand(inscmd, con);
cmd.Parameters.AddWithValue(“@sno”, TextBox1.Text)
cmd.Parameters.AddWithValue(“@sname”, TextBox2.Text)
cmd.Parameters.AddWithValue(“@saddress”, TextBox3.Text)
cmd.Parameters.AddWithValue(“@phone”, TextBox4.Text)
cmd.Parameters.AddWithValue(“@dob”, s1.ToString)
cmd.Parameters.AddWithValue(“@mothername”, TextBox5.Text)
cmd.Parameters.AddWithValue(“@mothermobile”, TextBox6.Text)
cmd.Parameters.AddWithValue(“@fathername”, TextBox7.Text)
cmd.Parameters.AddWithValue(“@fathermobile”, TextBox8.Text)
cmd.Parameters.AddWithValue(“@course”, ComboBox1.Text)

Try

40
cmd.ExecuteNonQuery()

MessageBox.Show(“ Student Created please note this id for future reff”)


Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

‘ myConn1.Close();

studentid()
TextBox2.Text = “”
TextBox3.Text = “”
TextBox4.Text = “”
TextBox5.Text = “”
TextBox6.Text = “”
TextBox7.Text = “”
TextBox8.Text = “”
ComboBox1.Text = “Select One”
fillcourse()

EndSub

PrivateSub Updates()

con = NewSqlConnection(ConnectionString)

inscmd = “update student set course= (‘” + Me.ComboBox1.Text + “’),saddress= (‘” + Me.TextBox3.Text +
“’),phone=(‘” + Me.TextBox4.Text + “’),mothermobile=(‘” + Me.TextBox6.Text + “’),fathermobile=(‘” +
Me.TextBox8.Text + “’)where sno=(‘” + Me.TextBox1.Text + “’) “
myc = NewSqlCommand(inscmd, con)

Try
con.Open()
myc.ExecuteNonQuery()

MessageBox.Show(“Student Details Updated”)


Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

studentid()
TextBox2.Text = “”
TextBox3.Text = “
TextBox4.Text = “”
TextBox5.Text = “”
TextBox6.Text = “”
TextBox7.Text = “”
TextBox8.Text = “”
ComboBox1.Text = “Select One”
fillcourse()

41
EndSub

PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click


insert()
EndSub

PrivateSub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click


Updates()
EndSub

PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles ComboBox1.SelectedIndexChanged

EndSub
EndClass

42
Academic Forms

Fig. 19

Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO
Imports System.Web
Imports System.Collections
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports System.Configuration
PublicClassForm5

43
Private con As SqlClient.SqlConnection
Private cmd As SqlClient.SqlCommand
Private dAdapter As SqlClient.SqlDataAdapter
Private myConn As SqlClient.SqlConnection
Private ConnectionString AsString = ConfigurationManager.ConnectionStrings(“conString”).ConnectionString
‘ private SqlConnection myConn;
Private myc As SqlClient.SqlCommand
‘ private SqlDataAdapter dAdapter;
Private dr As SqlClient.SqlDataReader
Public inscmd AsString
Public inscmd1 AsString
Public delcmd AsString

PrivateSub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


RadioButton2.CheckedChanged

Button1.Visible = True

EndSub

PrivateSub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


RadioButton1.CheckedChanged

Button1.Visible = False
EndSub
PrivateSub insert()

con = NewSqlConnection(ConnectionString)
con.Open()
Dim cmd AsNewSqlCommand(“insert into
study(sid,classten,class12,graduation,classtenboard,classteninst,class12board,class12inst)
values(@sid,@classten,@class12,@graduation,@classtenboard,@classteninst,@class12board,@class12inst)”, con)
‘ inscmd = “select * from companyprofile where ID=’” + label6.Text + “’”;
‘ myc = new SqlCommand(inscmd, con);
cmd.Parameters.AddWithValue(“@sid”, TextBox1.Text)
cmd.Parameters.AddWithValue(“@classten”, TextBox2.Text)
cmd.Parameters.AddWithValue(“@class12”, TextBox3.Text)
cmd.Parameters.AddWithValue(“@graduation”, TextBox4.Text)
cmd.Parameters.AddWithValue(“@classtenboard”, TextBox5.Text)
cmd.Parameters.AddWithValue(“@classteninst”, TextBox6.Text)
cmd.Parameters.AddWithValue(“@class12board”, TextBox7.Text)
cmd.Parameters.AddWithValue(“@class12inst”, TextBox8.Text)

Try

cmd.ExecuteNonQuery()

MessageBox.Show(“ Academic Details Inserted”)


Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

‘ myConn1.Close();

TextBox2.Text = “”
TextBox3.Text = “”

44
TextBox4.Text = “”

EndSub
PrivateSub Updates()

con = NewSqlConnection(ConnectionString)

inscmd = “update study set classten= (‘” + Me.TextBox2.Text + “’),class12= (‘” + Me.TextBox3.Text +
“’),graduation=(‘” + Me.TextBox4.Text + “’)where sid=(‘” + Me.TextBox1.Text + “’) “
myc = NewSqlCommand(inscmd, con)

Try
con.Open()
myc.ExecuteNonQuery()

MessageBox.Show(“Academic Details Updated”)


Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

TextBox2.Text = “”
TextBox3.Text = “”
TextBox4.Text = “”

EndSub

PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click


If TextBox1.Text = “”Then
MessageBox.Show(“Please Enter Student ID to process”)

Return
Else
If RadioButton1.Checked Then
insert()
Else

Updates()

EndIf
EndIf
EndSub
PrivateSub filldata()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select * from study where sid=’” + TextBox1.Text + “’“
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)
TextBox2.DataBindings.Add(“Text”, table, “classten”)
TextBox3.DataBindings.Add(“Text”, table, “class12”)
TextBox4.DataBindings.Add(“Text”, table, “graduation”)

45
TextBox5.DataBindings.Add(“Text”, table, “classtenboard”)

TextBox6.DataBindings.Add(“Text”, table, “classteninst”)


TextBox7.DataBindings.Add(“Text”, table, “class12board”)
TextBox7.DataBindings.Add(“Text”, table, “class12inst”)

Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

textBox1.DataBindings.Clear()
textBox2.DataBindings.Clear()
textBox3.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
TextBox4.DataBindings.Clear()
TextBox5.DataBindings.Clear()
TextBox6.DataBindings.Clear()
TextBox7.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
TextBox8.DataBindings.Clear()

EndSub

PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


filldata()
EndSub

PrivateSub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

EndSub
EndClass

46
Extra Curricular Activites

Fig. 20

Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO
Imports System.Web
Imports System.Collections
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports System.Configuration

47
PublicClassForm6
Private con As SqlClient.SqlConnection
Private cmd As SqlClient.SqlCommand
Private dAdapter As SqlClient.SqlDataAdapter
Private myConn As SqlClient.SqlConnection
Private ConnectionString AsString = ConfigurationManager.ConnectionStrings("conString").ConnectionString
' private SqlConnection myConn;
Private myc As SqlClient.SqlCommand
' private SqlDataAdapter dAdapter;
Private dr As SqlClient.SqlDataReader
Public inscmd AsString
Public inscmd1 AsString
Public delcmd AsString
PrivateSub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
RadioButton2.CheckedChanged

Button1.Visible = True
EndSub

PrivateSub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


RadioButton1.CheckedChanged

Button1.Visible = False
EndSub

PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click


If TextBox1.Text = ""Then
MessageBox.Show("Please Enter Student ID to process")

Return
Else
If RadioButton1.Checked Then
insert()
Else

Updates()

EndIf
EndIf
EndSub
PrivateSub insert()

con = NewSqlConnection(ConnectionString)
con.Open()
Dim cmd AsNewSqlCommand("insert into extracurricular(sid,Hobby1,Hobby2,Achivements)
values(@sid,@Hobby1,@Hobby2,@Achivements)", con)
' inscmd = "select * from companyprofile where ID='" + label6.Text + "'";
' myc = new SqlCommand(inscmd, con);
cmd.Parameters.AddWithValue("@sid", TextBox1.Text)
cmd.Parameters.AddWithValue("@Hobby1", TextBox2.Text)
cmd.Parameters.AddWithValue("@Hobby2", TextBox3.Text)
cmd.Parameters.AddWithValue("@Achivements", TextBox4.Text)

Try

cmd.ExecuteNonQuery()

48
MessageBox.Show(" Extra Curricular Details Inserted")
Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

' myConn1.Close();

TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""

EndSub
PrivateSub Updates()

con = NewSqlConnection(ConnectionString)

inscmd = "update extracurricular set Hobby1= ('" + Me.TextBox2.Text + "'),Hobby2= ('" + Me.TextBox3.Text +
"'),Achivements=('" + Me.TextBox4.Text + "')where sid=('" + Me.TextBox1.Text + "') "
myc = NewSqlCommand(inscmd, con)

Try
con.Open()
myc.ExecuteNonQuery()

MessageBox.Show("Extra Curricular Details Updated")


Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""

EndSub

PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


filldata()
EndSub
PrivateSub filldata()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = "select * from extracurricular where sid='" + TextBox1.Text + "' "
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)

49
TextBox2.DataBindings.Add("Text", table, "Hobby1")

TextBox3.DataBindings.Add("Text", table, "Hobby2")


TextBox4.DataBindings.Add("Text", table, "Achivements")

Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

textBox1.DataBindings.Clear()
textBox2.DataBindings.Clear()
textBox3.DataBindings.Clear()
' comboBox1.DataBindings.Clear()
TextBox4.DataBindings.Clear()

EndSub

PrivateSub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

EndSub
EndClass

50
REPORT

Fig. 21

51
CODING

Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO
Imports System.Web
Imports System.Collections
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Imports System.Configuration
PublicClassForm7
Private con As SqlClient.SqlConnection
Private cmd As SqlClient.SqlCommand
Private dAdapter As SqlClient.SqlDataAdapter
Private myConn As SqlClient.SqlConnection
Private ConnectionString AsString = ConfigurationManager.ConnectionStrings(“conString”).ConnectionString
‘ private SqlConnection myConn;
Private myc As SqlClient.SqlCommand
‘ private SqlDataAdapter dAdapter;
Private dr As SqlClient.SqlDataReader
Public inscmd AsString
Public inscmd1 AsString
Public delcmd AsString
Dim docImage AsBitmap
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
filldataextra()
filldatastudy()
filldatastudent()
EndSub
PrivateSub filldataextra()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select * from extracurricular where sid=’” + TextBox1.Text + “’“
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)

Label42.DataBindings.Add(“Text”, table, “Hobby1”)


Label43.DataBindings.Add(“Text”, table, “Hobby2”)
Label44.DataBindings.Add(“Text”, table, “Achivements”)

Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)

52
Finally
con.Close()
EndTry

Label42.DataBindings.Clear()
Label43.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
Label44.DataBindings.Clear()

EndSub
PrivateSub filldatastudy()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select * from study where sid=’” + TextBox1.Text + “’“
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)

Label35.DataBindings.Add(“Text”, table, “classten”)

Label38.DataBindings.Add(“Text”, table, “class12”)


Label41.DataBindings.Add(“Text”, table, “graduation”)

Label36.DataBindings.Add(“Text”, table, “classtenboard”)

Label37.DataBindings.Add(“Text”, table, “classteninst”)


Label39.DataBindings.Add(“Text”, table, “class12board”)
Label40.DataBindings.Add(“Text”, table, “class12inst”)

Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

Label35.DataBindings.Clear()
Label36.DataBindings.Clear()
Label37.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
Label38.DataBindings.Clear()
Label39.DataBindings.Clear()
Label40.DataBindings.Clear()
Label41.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()

53
EndSub
PrivateSub filldatastudent()
con = NewSqlConnection(ConnectionString)
con.Open()
inscmd = “select * from student where sno=’” + TextBox1.Text + “’“
myc = NewSqlCommand(inscmd, con)

dAdapter = NewSqlDataAdapter(myc)

Dim table AsNewDataTable()


dAdapter.Fill(table)

Label25.DataBindings.Add(“Text”, table, “sno”)

Label27.DataBindings.Add(“Text”, table, “sname”)

Label28.DataBindings.Add(“Text”, table, “saddress”)


Label29.DataBindings.Add(“Text”, table, “phone”)
Label30.DataBindings.Add(“Text”, table, “dob”)
Label31.DataBindings.Add(“Text”, table, “mothername”)

Label32.DataBindings.Add(“Text”, table, “mothermobile”)


Label33.DataBindings.Add(“Text”, table, “fathername”)
Label34.DataBindings.Add(“Text”, table, “fathermobile”)

Label26.DataBindings.Add(“Text”, table, “course”)


Try

myc.ExecuteNonQuery()

Catch ex AsSqlException
MessageBox.Show(ex.Message)
Finally
con.Close()
EndTry

Label25.DataBindings.Clear()
Label26.DataBindings.Clear()
Label27.DataBindings.Clear()
‘ comboBox1.DataBindings.Clear()
Label28.DataBindings.Clear()
Label29.DataBindings.Clear()
Label30.DataBindings.Clear()
Label31.DataBindings.Clear()
Label32.DataBindings.Clear()
Label33.DataBindings.Clear()
Label34.DataBindings.Clear()

EndSub
PrivateSub print()

Dim printDialog1 AsNewPrintDialog()

54
printDialog1.Document = printDocument1

‘ Show the Print Dialog before printing

If printDialog1.ShowDialog() = DialogResult.OK Then

‘ Prints the Form

printDocument1.Print()
EndIf

docImage = NewBitmap(4956, 7014)


‘docImage = new Bitmap(5500, 8000);
‘ dataGridView1.DrawToBitmap(docImage, New System.Drawing.Rectangle(75, 200, dataGridView1.Width,
dataGridView1.Height))

Dim point AsNewPoint(12, 10)


Dim rec AsNewRectangle()
rec.Location = point
rec.Width = 450
rec.Height = 250

printDocument1.Print()

EndSub

PrivateSub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As


System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
Dim bmp AsNewBitmap(Panel1.Width, Panel1.Height)
Panel1.DrawToBitmap(bmp, NewRectangle(0, 0, Panel1.Width, Panel1.Height))
e.Graphics.DrawImage(bmp, 0, 0)

EndSub

PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click


If TextBox1.Text = “”Then
MessageBox.Show(“Fill data first”)
Return
Else

print()

EndIf

EndSub

PrivateSub Panel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles


Panel1.Paint

EndSub
EndClass

55
STUDENT ATTENDANCE

Fig 22

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


Handles Button1.Click
subjectallocation.Show()

EndSub

PrivateSub viewsa_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


HandlesMyBase.Load
‘TODO: This line of code loads data into the
‘_D__COLLEGE_SUMMER_FACULTY_MDFDataSet1.subjectallocation’ table. You can
move, or remove it, as needed.
Me.SubjectallocationTableAdapter1.Fill(Me._D__COLLEGE_SUMMER_FACULTY_MDFDat
aSet1.subjectallocation)

EndSub

56
REPORT GENERATION :

Fig. 23
Imports System.Data

57
Imports System.Data.SqlClient
Imports System.Configuration
PublicClassForm1

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


Handles Button1.Click
Dim con AsNewSqlConnection("Data Source=ANKUSH-PC\SQLEXPRESS;Initial
Catalog=D:\COLLEGE\SUMMER\FACULTY.MDF;Integrated Security=True")
con.Open()
Dim match AsString = ComboBox1.SelectedItem
Dim match1 AsString = ComboBox2.SelectedItem
Dim Cmd AsNewSqlCommand("SELECT count(*) FROM feedback where teachername='" +
match + "' and subjectname='" + match1 + "'", con)
Dim counter AsString
counter = Cmd.ExecuteScalar()
Dim cmd1 AsNewSqlCommand("select sum(avgrate) from feedback where teachername ='" +
match + "' and subjectname='" + match1 + "'", con)
Dim sum AsString
sum = cmd1.ExecuteScalar()
Dim rate AsInteger
rate = (sum / (40 * counter)) * 100
TextBox1.Text = rate
con.Close()
EndSub

EndClass

Chapter – 4

58
System Design

SUMMARY

This project is built for the convenience for the record keeping in regards with student profile
management system, which will hold safe the database of each student for the institution to last
generate the report whenever needed. This will help the institution to keep the record in such a
state that it will hold and help through the institution all the way through all the semesters
regarding the student attendance or overall report of the student inside out of the institution.

SCOPE OF IMPROVEMENT AND CONCLUSIONS

STUDENT PROFILE MANAGEMENT SYSTEM , which deals with the feedback of the
students to calculate the overall rating of a teacher , since the created system software is not very
ready to use as there are many bugs and improvements ready to be done on the software , such as
:

A) The subject allocation is done with a group of teachers i.e. no new teachers can be added
as well as no new subjects can be added. ( i.e. the software is made with the limited
number of teachers and subjects ) , improvements will be done so as new teachers and
subjects can be added by the admin . ( new text fields would be added so as to include the
new faculty feature in the software)

B) The security issues which surrounds every new software , since the software is highly on
risk factor i.e. the security issues are much more on higher state , since the database
contains very important information of students , faculties , the feedback given by each
student which can be harmful if misused.

C) The criteria or the questions which are on the feedback form, cannot be changed in this
software, improvements would be made and the admin would be given full rights to
change the feedback question (criteria), new feature would be added.

D) Since the software is a kind of offline , improvements would be made to make it an


online system so as the students could give the feedback as per their time schedule

Conclusion:

Since there are a lot of improvements to be made and a lot of bug fixes would be there.
But as per the manual system or the existing process , this software system would be a far

59
better one as it would reduce a lot of time and work of both faculties and the students. It
will save a lot of stationaries.

60

Вам также может понравиться