Академический Документы
Профессиональный Документы
Культура Документы
(1)
1
Certificate
We, & certify that the Summer Training Project Report (BCA-353) entitled “FACULTY
this project work has not been submitted earlier for the award of any degree or diploma to the
Date:
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
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
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
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.
8
Assisting professional committee
CHAIRMAN
DIRECTOR
DEPUTY PROGRAM
DIRECTOR DIRECTOR
MENTOR
ADMINSITRA
TOR CO-
ORDINATOR
FACULTY
ACADEMIC
STAFF
STUDENT
Fig. 1
ORGANISATIONAL STRUCTURE
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
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.
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.
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.
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
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.
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.
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
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
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
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
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
2. Operator table
1. User name Varchar Store user name for checking correct username
3. Attendance table
17
4.. Month Date Keep records of the month
4. Student Table
3. Course Text This is the course in which the students are studying .By
default course is BCA
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:
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
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:
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
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()
‘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
34
PrivateSub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load
EndSub
EndClass
Home Screen
Fig. 17
CODING:
PublicClassForm3
EndSub
EndSub
EndSub
35
PrivateSub ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
ToolStripMenuItem1.Click
Form7.Show()
EndSub
EndSub
EndSub
EndSub
EndSub
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
EndSub
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)
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)
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
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()
‘ 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()
studentid()
TextBox2.Text = “”
TextBox3.Text = “
TextBox4.Text = “”
TextBox5.Text = “”
TextBox6.Text = “”
TextBox7.Text = “”
TextBox8.Text = “”
ComboBox1.Text = “Select One”
fillcourse()
41
EndSub
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
Button1.Visible = True
EndSub
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()
‘ 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()
TextBox2.Text = “”
TextBox3.Text = “”
TextBox4.Text = “”
EndSub
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)
45
TextBox5.DataBindings.Add(“Text”, table, “classtenboard”)
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
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
Button1.Visible = False
EndSub
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()
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
EndSub
dAdapter = NewSqlDataAdapter(myc)
49
TextBox2.DataBindings.Add("Text", table, "Hobby1")
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
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)
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)
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)
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()
54
printDialog1.Document = printDocument1
printDocument1.Print()
EndIf
printDocument1.Print()
EndSub
EndSub
print()
EndIf
EndSub
EndSub
EndClass
55
STUDENT ATTENDANCE
Fig 22
EndSub
EndSub
56
REPORT GENERATION :
Fig. 23
Imports System.Data
57
Imports System.Data.SqlClient
Imports System.Configuration
PublicClassForm1
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.
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.
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