Professional Documents
Culture Documents
com
1.Introduction
2.Purpose
The purpose of this document is to specify requirements and to give guidelines for the
development of above said projects.in particular it gives guidelines on how to prepare the above
said project.
This document is intended to be a practical guide for people who developing this application.
3.Scope
This is of generic type software, suitable to all colleges. This software has all the
modules to manage college transactions. Separate division is provided to maintain admission
process. Student management, Staff management, etc.,
4.Goal
The main goal of the application is to maintain the record of the college, this software is
helpful to the colleges to maintain the student and employee management.
1
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
At present in colleges all records maintained manually. There are thousands of students joining
each year. As the years goes then number of students also get increases, for the staff to maintain
all these students records is very tedious and time consuming. Update fee, test marks, test result
all these need to be done in time to achieve college management need to be recruit more peoples.
To solve this problem this project is prepared which help the management to maintain the
records accurately.
The existing system has some disadvantages. They are as below:
To avoid all these limitations and make the working more accurately the system needs to be
computerized in the effective manner
In the proposed system all the parameter are considered to maintain neat and easier solutions. In
college to maintain all student records they need have more staff and also place to maintain the
records. Even maintained properly when ever required they are not available. To solve this
problem this program is designed. It serve the purpose of maintain records. Collecting fee.
Announcing the test results. Etc.,
The main objective of the existing system is to provide a user friendly interface. The
system, which is proposed now computerized all the details that are maintained manually. Once
the details are fed into the computer there is no need for various persons to deal with separate
2
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
sections. Only a single person is enough to maintain all the reports. The security can also be
given as per the requirement of the user.
3
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
6.SYSTEM REQUIREMENTS
RAM 1 GB
4
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
FEASIBILITY STUDY
Economically Feasibility:
The system being developed is economic with respect to School or Collage’s point of view. It is
cost effective in the sense that has eliminated the paper work completely.
The system is also time effective because the calculations are automated which are made at the
end of the month or as per the user requirement.
The result obtained contains minimum errors and are highly accurate as the data is required.
Technical feasibility:
The technical requirement for the system is economic and it does not use any other additional
Hardware and software.
Behavioral Feasibility:
The system working is quite easy to use and learn due to its simple but attractive interface. User
requires no special training for operating the system.
In the present system all work is done on paper. The whole session attendance is stored in
register and at the and of the session the reports are generated. We are not interested in
generating report in the middle of the session or as per the requirement because it takes more
time in calculation. At the end of session the students who don’t have 75% attendance get a
notice.
• Not User Friendly: The existing system is not user friendly because the retrieval of data is
very slow and data is not maintained efficiently.
5
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
• Manual control: All calculations to generate report is done manually so there is greater chance
of errors.
• Lots of paperwork: Existing system requires lot of paper work. Loss of even a single
register/record led to difficult situation because all the papers are needed to generate the reports.
• Time consuming: Every work is done manually so we cannot generate report in the middle of
the session or as per the requirement because it is very time consuming.
• User Friendly:- The proposed system is user friendly because the retrieval and storing of data is
fast and data is maintained efficiently. Moreover the graphical user interface is provided in the
proposed system, which provides user to deal with the system very easily.
• Reports are easily generated: reports can be easily generated in the proposed system so user can
generate the report as per the requirement (monthly) or in the middle of the session. User can
give the notice to the students so he/she become regular.
• Very less paper work: The proposed system requires very less paper work. All the data is feted
into the computer immediately and reports can be generated through computers. Moreover work
become very easy because there is no need to keep data on papers.
• Computer operator control: Computer operator control will be there so no chance of errors.
Moreover storing and retrieving of information is easy. So work
6
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
7
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Data Tables
Attendance Tab
Course Details
Exam Marks
8
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
marks3 nvarchar(MAX)
marks4 nvarchar(MAX)
marks5 nvarchar(MAX)
Login
Fees collection
Staff Details
9
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
pincode nvarchar(MAX)
phne nvarchar(MAX)
email nvarchar(MAX)
quali nvarchar(MAX)
desi nvarchar(MAX)
Student Details
Subject Details
10
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
11
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
12
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
SCREENSHOT OF FORM
Splash screen
Login Form
13
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
MDI form
Course details
14
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Subject details
Staff details
15
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Student details
Fees collection
16
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Attendance
17
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
REPORT
Staff list
Student list
18
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
19
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Exam result
20
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Testing:
"Testing is the process of analysing a software item to detect the differences between existing
and required conditions and to evalaute the features of software item". The system is tested under
adverse situations and environment to test its performance, reliability and robustness. Verification
and validation is done for the system and it is reviewed against each and every customer
requirement specification.
A good test is one that has high probability of finding the yet undiscovered errors.
A successful test is the one that has high portability of finding the undiscovered errors.
Tests designed to reflect the frequency of user inputs used for reliability estimation.
To test the process two classes of inputs are provided, they are:
b. A software configuration that includes a test plan and procedure, any testing tool and test
cases and their expected results.
Testing is performed to prove that there are no errors in program. This is extremely difficult since
designer cannot prove hundred percent accurate. Therefore, testing is done with a explicit intension
of finding errors that make the program fail. Testing has its own cycle. It requires 5 basic critical
factors: planning , project and process management, risk management, inspirits, measurement
tools.
Types of Testing:
Software testing is a critical element of software quality assurance and represents the
ultimate review of specification, design and code generation. there are three types of testing under
which a system is tested under different perspectives.they are:
3. Alpha Testing
21
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
4. Beta testing
6. Defect Testing
This is a method of testing software that that tests internal structures or working of an
application, as opposed to its functionality. Internal program logic is excercised using this
technique. The tester chooses inputs to exercise paths through the code and determine the
appropriate outputs. This can be applied at the unit, integration and system levels of software
testing process.
White box test design techniques include the following code coverage criteria:
branch testing
statement coverage
decision coverage
path testing
White box testing use these above criteria as guidelines to create an error free environment by
examining any fragile code. So these are the building blocks of white box testing. The whole point
of white box testing is the ability to know which line of the code is being executed and being able
to identify what the correct output should be.
Black box testing is a method of software testing that examines the functionality of an
application without peering into its internal structures and working. Software requirements are
exercised using this technique. This method can be applied to every level of software testing.
all-pairs testing
22
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
equivalence partitioning
error guessing
state transition
domain analysis
combining technique
Test cases are built around specifications and requirements. Although the tests used are primarily
functional in nature, non functional tests may also be used. The test designer selects both valid and
invalid inputs and determines the correct output.
Test Process:
The general testing process is the creation of a test stratergy, creation of test plan/design and the
execution of tests. Tests data are the inputs that have been divised tp test the system.
1. Unit Testing
2. Module Testing
3. Sub-System Testing
4. System Testing
5. Acceptance Testing
VALIDATION:
A test plan outlines the class tests that will be used to demonstrate the conformity with
requirements. Both the plan and procedure are designed to ensure that all the functional
23
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
requirements are satisfied. All the behavioral characteristics are achieved. All performance
requirements are attained documentation is correct and human engineering and other requirements
are met.
24
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Source code
Course details
Imports System.Data.SqlClient
Public Class coursedetails
Dim pkvar As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
TextBox1.Text = ""
TextBox2.Text = ""
End Sub
Sub saverecord()
If TextBox1.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If TextBox2.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If conn.State = ConnectionState.Open Then conn.Close()
conn.Open()
Dim cmd0 As New SqlCommand("select coursename from coursedetails where coursename='"
& UCase(TextBox1.Text) & "'", conn)
Dim d1 As SqlDataReader = cmd0.ExecuteReader()
If d1.HasRows Then
MsgBox("this record is already present in the database")
If conn.State = ConnectionState.Open Then conn.Close()
Exit Sub
25
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End If
If conn.State = ConnectionState.Open Then conn.Close()
conn.Open()
q1var = "Insert into coursedetails("
q2var = "values("
q1var = q1var & "coursename" & ","
q2var = q2var & "'" & TextBox1.Text & "',"
q1var = q1var & "details" & ")"
q2var = q2var & "'" & TextBox2.Text & "')"
Dim cmd1 As New SqlCommand(q1var & q2var, conn)
cmd1.ExecuteNonQuery()
If conn.State = ConnectionState.Open Then conn.Close()
MsgBox("Registered Successfully")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button2.Click
saverecord()
End Sub
26
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
27
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
TextBox1.Text = D1(0).ToString
TextBox2.Text = D1(1).ToString
Else
TextBox1.Text = ""
TextBox2.Text = ""
28
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End If
If conn.State = ConnectionState.Open Then conn.Close()
End Sub
End If
End Sub
End Sub
End Class
exam
Imports System.Data.SqlClient
End Sub
29
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
30
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
For Each r As DataGridViewRow In DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(3).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(4).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(5).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(6).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(7).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
31
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
Next
End Sub
End Sub
End Sub
End Class
Exam result
Imports System.Data.SqlClient
32
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End If
33
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
If d1.Read Then
DataGridView1.Rows(i).Cells(0).Value = "attendance"
DataGridView1.Rows(i).Cells(1).Value = d1.GetValue(0).ToString
i=i+2
End If
conn.Close()
Loop
conn.Close()
End Sub
End Sub
34
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
35
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
For Each r As DataGridViewRow In DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(1).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
YPos += 25
Next
End Sub
36
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Class
Feescollection
Imports System.Data.SqlClient
37
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
XPos = 10
e.Graphics.DrawString("ABC College Administration", MyFont, Brushes.Black, XPos, YPos)
YPos += 50
MyFont = New Font("Arial", 12)
e.Graphics.DrawString("No. 101, 4th floor, UB City, Bangalore - 560001", MyFont,
Brushes.Black, XPos, YPos)
YPos += 100
XPos = 10
e.Graphics.DrawString("Student Fee List Report", MyFont, Brushes.Black, XPos, YPos)
YPos += 50
XPos = 10
MyFont = New Font("Arial", 12)
e.Graphics.DrawString("Reg No", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Student Name", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString("Fee1", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Fee2", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Fee3", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Fee4", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Fee5", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Fee Total", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString("Balance", MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
38
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
For Each r As DataGridViewRow In DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(1).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(2).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(3).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(4).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(5).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(6).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(7).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
e.Graphics.DrawString(r.Cells(8).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 75
YPos += 25
Next
End Sub
39
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Class
Form1
Imports System.Data.SqlClient
40
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Front
41
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Class
Login form1
Imports System.Data.SqlClient
' TODO: Insert code to perform custom authentication using the provided username and
password
' (See http://go.microsoft.com/fwlink/?LinkId=35339).
' The custom principal can then be attached to the current thread's principal as follows:
' My.User.CurrentPrincipal = CustomPrincipal
' where CustomPrincipal is the IPrincipal implementation used to perform authentication.
' Subsequently, My.User will return identity information encapsulated in the CustomPrincipal
object
' such as the username, display name, etc.
42
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Class
Marks
43
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Imports System.Data.SqlClient
End Sub
End Sub
End Sub
44
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
adp.Fill(DS1)
DataGridView1.DataSource = DS1.Tables(0)
If conn.State = ConnectionState.Open Then conn.Close()
End Sub
End Sub
45
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
46
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
47
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
48
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Sub
End Sub
End Sub
End Class
Mdi parent1
Imports System.Windows.Forms
49
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
m_ChildFormNumber += 1
ChildForm.Text = "Window " & m_ChildFormNumber
ChildForm.Show()
End Sub
50
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
51
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
52
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
coursedetails.Show()
End Sub
53
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
attend.Show()
End Sub
End Sub
End Sub
End Sub
54
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Class
Module
Imports System.Data.SqlClient
Module Module1
End Module
55
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Splash screen1
'TODO: This form can easily be set as the splash screen for the application by going to the
"Application" tab
' of the Project Designer ("Properties" under the "Project" menu).
'TODO: Customize the application's assembly information in the "Application" pane of the
project
' properties dialog (under the "Project" menu).
'Application title
If My.Application.Info.Title <> "" Then
ApplicationTitle.Text = My.Application.Info.Title
Else
'If the application title is missing, use the application name, without the extension
56
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
ApplicationTitle.Text =
System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName)
End If
'Format the version information using the text set into the Version control at design time as the
' formatting string. This allows for effective localization if desired.
' Build and revision information could be included by using the following code and changing the
' Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something similar. See
' String.Format() in Help for more information.
'
' Version.Text = System.String.Format(Version.Text, My.Application.Info.Version.Major,
My.Application.Info.Version.Minor, My.Application.Info.Version.Build,
My.Application.Info.Version.Revision)
'Copyright info
Copyright.Text = My.Application.Info.Copyright
End Sub
57
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Class
Staff
Imports System.Data.SqlClient
End Sub
58
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
59
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
For Each r As DataGridViewRow In DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(1).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(4).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(6).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(7).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
YPos += 25
Next
End Sub
60
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Class
Student
Imports System.Data.SqlClient
End Sub
61
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
adp.Fill(DS1)
DataGridView1.DataSource = DS1.Tables(0)
62
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
YPos += 25
For Each r As DataGridViewRow In DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(1).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(2).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(4).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(5).Value, MyFont, Brushes.Black, XPos, YPos)
XPos = XPos + 150
YPos += 25
Next
End Sub
63
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Class
Subjectdetails
Imports System.Data.SqlClient
End Sub
End If
End Sub
End Sub
Sub disrecords()
64
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
End Sub
End Sub
End Sub
65
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
ComboBox1.Text = D1(0).ToString
ComboBox2.Text = D1(1).ToString
TextBox1.Text = D1(2).ToString
TextBox2.Text = D1(3).ToString
Else
ComboBox1.Text = ""
ComboBox2.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
End If
If conn.State = ConnectionState.Open Then conn.Close()
End Sub
66
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
ComboBox2.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
End Sub
Sub saverecord()
If ComboBox1.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If ComboBox2.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If TextBox1.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If TextBox2.Text = "" Then
MsgBox("please enter the necessary details")
Exit Sub
End If
If conn.State = ConnectionState.Open Then conn.Close()
conn.Open()
Dim cmd0 As New SqlCommand("select course from subjectdetails where course='" &
UCase(TextBox1.Text) & "'", conn)
Dim d1 As SqlDataReader = cmd0.ExecuteReader()
If d1.HasRows Then
MsgBox("this record is already present in the database")
If conn.State = ConnectionState.Open Then conn.Close()
Exit Sub
End If
67
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End Sub
68
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Dim cmd1 As New SqlCommand("delete from subjectdetails where course='" & pkVar & "'",
conn)
cmd1.ExecuteNonQuery()
If conn.State = ConnectionState.Open Then conn.Close()
saverecord()
End Sub
End Sub
End Sub
69
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
End If
End Sub
End Sub
End Sub
End Class
70
Dept of BCA COLLEGE MANAGEMENT SYSTEM www.vidyasanskaar.com
Conclusion
The Attendance Management System is developed using Visual Basic.NET fully meets the
objectives of the system which it has been developed. The system has reached a steady state
where all bugs have been eliminated. The system is operated at a high level of efficiency and all
the teachers and user associated with the system understands its advantage. The system solves
the problem. It was intended to solve as requirement specification.
Bibliography
1. The complete Reference Visual Basic.NET
2. Beginning VB.NET (Wrox Publication)
3. System Analysis and Design – Alias M. Awad
4. Software Engineering – Roger Pressman
Websites
1. www.microsoft.com
2. www.w3schools.com
3. www.dotnetspider.com
71