Professional Documents
Culture Documents
Student Attendance Management System
Student Attendance Management System
Student Attendance Management System
Project Report
On
Submitted to
2021-2022
1
SHIKSHAN PRASARAK SANSTHA’S : (02425) 225893, 223181(O),
225164(R)
SANGAMNER NAGARPALIKA ARTS, :(02425) 225893
D.J.MALPANI COMMERCE & Website:www.sangamnercollege.org
B.N.SARADA SCIENCE COLLEGE, E-mail :queries@sangamnercollege.org
SANGAMNER-422605, DIST-AHMEDNAGAR :sangamner_college@rediffmail.com
(Id. No. PU/AN/ASC/03/1961) *NAAC Re-Accredited ‘A+’
Grade [CGPA3.58]
"Spread Knowledge unto the last" *Pune University Best College
Award
PRINCIPAL
Dr.Gaikwad Arun,
M.Com., M.Phil., Ph.D., D.C.F.A.
CERTIFICATE
This Is To Certify That the Project Entitled
"Student Attendance Management System"
Is the Bonafide Work Carried Out By
Date: / / 2022
2
INDEX
Sr.No Particular Page No.
1 Introduction 5
2 Objective Of System 6
3 Requirement Analysis 7
5 Feasibility Study 9
6 Scope of Project 10
7 Design 11
• ER Digram
• DFD
• Coding
• Output Screen
8 Characteristics 28
10 Conclusion 31
11 Bibliography 32
3
ACKNOWLEDGEMENT
We would to like to thank Principal of the College, Head Of the Department &
Subject Co-ordinator for their encouragement and valuable guidance.
And last but not least, we would like to thank all our friends for their support and
the timely help.
Yours Sincerely,
Kokane Aditi Annasaheb.
B.Voc
(Software development)
4
INTRODUCTION
Introduction:-
Purpose:-
The purpose of developing attendance management system is to
computerized the tradition way of taking attendance. Another purpose for
developing this software is to generate the report automatically at the end of the
session or in the between of the session.
Scope:-
The scope of the project is the system on which the software is installed,
i.e. the project is developed as a desktop application, and it will work for a
particular institute.But later on the project can be modified to operate it online.
5
OBJECTIVE
Create a Window application to be used in place of old paper based user student
attendance manage process.
Use .NET and SQL Server technology to create strong and secured database
connectivity.
6
REQUIREMENT ANALYSIS
• HARDWARE/SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENT:
Processor: Pentium IV
processor 1 GHz
Monitor: Color monitor
RAM: min 256 MB
HDD: min 20GB
SOFTWARE REQUIREMENT:
Operating system: Windows XP/ Linux/ vista
Required software: Visual Studio 2008
Front End: C#. Net
Back End : MS SQL SERVER 2005
7
FACT FINDING TECHNIQUES
• Observation
• Record Review
• Interview
Interview:
8
FEASIBILITY STUDY
A key part of the preliminary investigation that reviews anticipated costs and
benefits and recommends a course of action based on operational, technical,
economic, and time factors. The purpose of the study is to determine if the
systems request should proceed further.
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 Hardwareand 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.
9
SCOPE OF SYSTEM
The scope of the project is the system on which the software is installed,
i.e. the project is developed as a desktop application, and it will work for a
particular institute or organization. But later on the project can be modified to
operate it online.
The intention of developing Attendance Management System is to
computerized the tradition way of taking attendance. Another purpose for
developing this software is to generate the desired reports automatically at the
end of the session or in the between of the session as they require. This project
is basically a desktop application which means self contained software runs on
the system on which it has been installed under the user control and it will work
for a particular institute or college only.
10
DESIGN
DIAGRAMS:
ER DIAGRAM:
11
DFD DIAGRAM:
CONTEXT LEVEL:
12
Admin level DFD:
13
Staff level DFD:
14
Student Level DFD:
15
Coding:
AddStudent.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Attendance_managementsystem
{
public partial class AddStudent : Form
{
public AddStudent()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data
Source=.\SQLEXPRESS;AttachDbFilename=F:\Sem.4\C# Projects\Attendance
managementsystem\Attendance managementsystem\Attendance.mdf;Integrated
Security=True;User Instance=True");
con.Open();
string str = "Insert into student(roll_no,name,class,address)
values('"+textBox1.Text+"','"+textBox2.Text+"','"+comboBox1.Text+"','"+text
Box3.Text+"');";
16
SqlCommand cmd = new SqlCommand(str, con);
cmd.ExecuteNonQuery();
string str1 = "select max(roll_no) from student ;";
SqlCommand cmd1 = new SqlCommand(str1, con);
SqlDataReader dr = cmd1.ExecuteReader();
if (dr.Read())
{
MessageBox.Show("" + textBox2.Text + "'s Details is Inserted
Successfully.. " , "Important Message");
this.Hide();
}
this.Close();
}
}
}
Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Attendance_managementsystem
{
17
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void label3_Click(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "code" && textBox2.Text == "codeprojects")
{
home2 obj1 = new home2();
obj1.Show();
this.Hide();
}
else
{
MessageBox.Show("Wrong username and password.");
}
}
}
}
Home.cs
using System;
18
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Attendance_managementsystem
{
public partial class Home : Form
{
public Home()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data
Source=.\SQLEXPRESS;AttachDbFilename=F:\Sem.4\C# Projects\Attendance
managementsystem\Attendance managementsystem\Attendance.mdf;Integrated
Security=True;User Instance=True");
con.Open();
string str = "Insert into SecondYear values('" + comboBox1.Text + "','"
+ textBox1.Text + "','" + textBox2.Text + "','" + textBox3.Text + "','" +
textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" +
textBox7.Text + "','" + textBox8.Text + "','" + textBox9.Text + "','" +
textBox10.Text + "','" + textBox11.Text + "','" + textBox21.Text + "','" +
textBox20.Text + "','" + textBox19.Text + "','" + textBox18.Text + "','" +
textBox17.Text + "','" + textBox16.Text + "','" + textBox15.Text + "','" +
textBox14.Text + "','" + textBox13.Text + "','" + textBox12.Text + "','" +
textBox31.Text + "','" + textBox30.Text + "','" + textBox29.Text + "','" +
19
textBox28.Text + "','" + textBox27.Text + "','" + textBox26.Text + "','" +
textBox25.Text + "','" + textBox24.Text + "','" + textBox23.Text + "','" +
textBox22.Text + "','" + textBox41.Text + "','" + textBox40.Text + "','" +
textBox39.Text + "','" + textBox38.Text + "','" + textBox37.Text + "','" +
textBox36.Text + "','" + textBox35.Text + "','" + textBox34.Text + "','" +
textBox33.Text + "','" + textBox32.Text + "','" + textBox51.Text + "','" +
textBox50.Text + "','" + textBox49.Text + "','" + textBox48.Text + "','" +
textBox47.Text + "','" + textBox46.Text + "','" + textBox45.Text + "','" +
textBox44.Text + "','" + textBox43.Text + "','" + textBox42.Text + "');";
SqlCommand cmd = new SqlCommand(str, con);
SqlDataReader dr = cmd.ExecuteReader();
if (dr.Read())
{
MessageBox.Show("" + comboBox1.Text + "'s Attendance is Inserted
Successfully.. ", "Important Message");
this.Hide();
}
this.Close();
}
}
}
home2.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
20
using System.Windows.Forms;
namespace Attendance_managementsystem
{
public partial class home2 : Form
{
public home2()
{
InitializeComponent();
}
private void newStudentToolStripMenuItem_Click(object sender,
EventArgs e)
{
AddStudent obj1 = new AddStudent();
obj1.Show();
}
private void attendanceToolStripMenuItem_Click(object sender,
EventArgs e)
{
Home obj2 = new Home();
obj2.Show();
}
private void showAttendanceToolStripMenuItem_Click(object sender,
EventArgs e)
{
ShowAttendance obj3 = new ShowAttendance();
obj3.Show();
}
}
}
21
Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Attendance_managementsystem
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
ShowAttendance.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
22
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Attendance_managementsystem
{
public partial class ShowAttendance : Form
{
public ShowAttendance()
{
InitializeComponent();
}
private void ShowAttendance_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the
'attendanceDataSet.SecondYear' table. You can move, or remove it, as needed.
this.secondYearTableAdapter.Fill(this.attendanceDataSet.SecondYear);
}
private void button1_Click(object sender, EventArgs e)
{
using (SqlConnection con = new SqlConnection(@"Data
Source=.\SQLEXPRESS;AttachDbFilename=F:\Sem.4\C# Projects\Attendance
managementsystem\Attendance managementsystem\Attendance.mdf;Integrated
Security=True;User Instance=True"))
{
string str = "SELECT * FROM SecondYear WHERE class = '" +
comboBox1.Text + "'";
SqlCommand cmd = new SqlCommand(str, con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
23
da.Fill(dt);
dataGridView1.DataSource = new BindingSource(dt, null);
}
comboBox1.Text = "";
}
}
}
24
Output Screen:
25
26
27
CHARACTERISTICS
28
ADVANTAGES AND DISADVANTAGES
Advantages:
4. Visibility / Insights: Would you need a quick snapshot of all planned and
unplanned absences for an students or group? With just a few clicks, you
can generate accurate reports on hours worked, absences, overtime, get a
monthly summary report for any of the data/groups within the
organization.
29
Disadvantages:
1. Not User Friendly: The existing system is not user friendly because the
retrieval of data is very slow and data is not maintained efficiently.
CONCLUSION
30
Bibliography
References
Websites
31
• www.w3school.com
• www.tutorialpoint.com
• www.pinterest.com
• www.kashipara.com
• www. dotnetspider.com
• www.guideproject.com
32