You are on page 1of 61

DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

INDEX
Sr. No. Title Page No. Remark
1 Project Synopsis / Introduction 5
 Project Details 6
 Hardware / Software Requirement 6
 INTRODUCTION 7
 Client Details 7
 Abstract 7
 Proposed system 8
 Module Specification 10
 Limitation In Present System 10
 Frontend 11
 Backend 12
 Stakeholder 13

2 System Design 14
 ER-Diagram 15
 Event Table 16
 Use Case Diagram 17
 Class Diagram 18
 System Flow Chart 19
 Structure Chart
 Site Map

3 System Coding 20
4 System Implementation 50
5 Result 52
6 Conclusion 55
7 Future Enhancements 57
8 References 59
9 Plagiarism Report 61

Project Include
 Objective of Project
 Project Synopsis
0
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

 Project Profile
 Hardware Requirement
 Software Requirement
 Existing System
 Need for New System
 Feasibility System
 System Flowchart
 Use case Diagram
 Class Diagram
 Activity Diagram
 Sequence Diagram
 E- R Diagram
 Collaboration Diagram
 Data Dictionary
 Input Design
 Output Design
 Testing
 Post Implementation Review
 Future Enhancement

1
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 1
Project Synopsis /Introduction

SYNOPSIS
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

PROJECT OBJECTIVE

2
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

This is a live project for “DSRP ENTERPRISES”. It is an Office management system


based on the requirements of the organization. It helps the organization to maintain the records and
data in digital manner. And helps to enter data in an easy way.
Office is an important section of a business. The term business implies office work. The dictionary
meaning of office is “a place for the transaction of business, the room or department, where the clerical work
is done,” or we can say, “a place where business is carried on,” or it is, “a place where all sorts of activities of
organization are dealt with,” Office is the centre of an organization. Commercial office acts as a central
directing and coordinating agency of the various activities of any business.

Project Details:

Project Title Office Management System (DSRP ENTERPRICES)

Front End ASP.NET (Visual Studio 2015)

Back End SQL SERVER 2014 (Store Procedure)

Other Tools HTML forms, CSS & Java Script

Users 1) Administrator 2) Staff

3
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Hardware / Software Requirement


 Server-Side Requirement
Processor CORE i3
Minimum Hardware
Requirement Main Memory 2 GB RAM
HDD 2GB

Operating System Windows 7

Database SQL SERVER 2014


Minimum Software
Requirement Platform Asp.Net
Server IIS 6.0
Browser Any Browser

 Client-Side Requirement

Processor Pentium III


Minimum Hardware
Requirement Main Memory 1 GB RAM
HDD 100 MB

Minimum Software Browser Any Browser


Requirement
Operating System Windows 7 or Higher

4
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

INTRODUCTION

Efficient office management comprises a number of vital functions, including time management,
organizing our paperwork and workspace, managing multiple projects simultaneously, and being in control of
all your job responsibilities.
We could be wasting precious time because of misplaced files or documents. Maybe with all the tasks
we are faced with, you are so overwhelmed you don’t know where to start or what to do first. Or we might be
missing deadlines, call backs and follows up. The office management tips and methods will put us back in
control of our workload.
The objective of “DSRP ENTERPRICES OFFICE MANAGEMENT SYSTEM” is to
provide a system which takes care of the storage records of the employee’s details, complaints,
attendance, salary generation. The system is user friendly and the user will find it easy to use the
system. As this is generic system which can be used to reduce the office paper work and maintain the
records in digital manner.
The project is developed as per the client requirements and their need.

Details of client and External guide:


Name: MR. Sharad Sawant (MANAGING DIRECTOR)
Contact: 8080803182 (Office Number)
/ +91 98700 87713

Abstract:

DSRP Enterprises is Direct Solution For Recruitment & Placement


DSRP Enterprises was established in 2016 in Navi Mumbai, India.
The Company provides recruitment services to Corporate Houses in India and around the globe.
DSRP Enterprises was established in 2016 in Mumbai, India. Owned by Mr. Dilip K. Sawant &
MR. Sharad Sawant The Company provides recruitment services to Corporate Houses in India and
around the globe.
The Company has been providing excellent job opportunities to candidates across various fields.
DSRP comprises of a professional team of Job Placement Consultants in Navi Mumbai, highly
skilled in providing human resource solutions that are tailored specially to meet the needs of your
company and take it to the next level of the industry's hierarchy. Ranked amongst the best HR

5
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Consultants in Navi Mumbai. Being a customer centric firm, it matches our pace with Top Job
Consultants in India.
DSRP Enterprises is a fastest growing placement agency in Navi Mumbai. It’s rated as one of the
most Credible & Reliable Placement agency in Navi Mumbai.

Proposed System
 The Proposed website is computerized and has been developed using advance
language.

 It gives more facilities than present system.

 It allows quick access to any data

 Specified Enterprise needed a better way of maintain records for a long run.

 The Project is based on various events that are managed by company System.

 The Website maintains all records easy.

Proposed system
To reduce the inconvenience that were found in maintaining the records, it has been
automated so as to provide a user-friendly GUI that will help data entry. This also
includes maintenance of employee details and daily attendance & there complaints
regarding their systems.

The proposed system will include following features:


 Creating a database for the office containing the information present with them
on the paper in the existing system.
 Also, the system is intended to take very few inputs from the user.

6
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Advantage of Proposed System


 It is very helpful for every mode of the Website.

 It help financially and physically to Company because no need of filing


maintaining registers and paper work.

 This Website will provide timely report information

 Useful for Admin to get information about employee.

 Useful for employee to get familiar about enterprise.

 The computer can hold amount of data in its storage device.

 The operation and speed of the computer is very high.

 A database application can be stored in computer effectively.

 It is very user friendly and easy to handle.

 So the computerized system is more suitable than the manual system.

7
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Module Specification:
Admin

 Manage Admin User.


 Manage Staff.
 Manage Leave.
 Manage Attendance.
 Generate Excel Sheet of Attendance & System Complaints

Staff

 Login to the Portal.


 Apply for Leave.
 Register System Complaints

Limitation of Present System

 The manually handled system is time consuming.

 Data security is not assured.

 IT is difficult to maintain record in long run.

 Daily and usual record are not maintained in proper Manner.

 It’s a hectic to handle huge transactions.

8
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

FRONTEND: - MICROSOFT VISUAL STUDIO 2015

 First of all, C#.NET provides managed code execution that runs under the
Common Language Runtime (CLR), resulting in robust, stable and secure
applications. All features of the .NET framework are readily available in
C#.NET
 C#.NET is totally object oriented. This is a major addition that VB6 and other
earlier releases didn't have.
 The .NET framework comes with ADO.NET, which follows the disconnected
paradigm, i.e. once the required records are fetched the connection no longer
exists. It also retrieves the records that are expected to be accessed in the
immediate future. This enhances Scalability of the application to a great extent.
 C#.NET uses XML to transfer data between the various layers in the DNA
Architecture i.e. data are passed as simple text strings.
 Error handling has changed in C#.NET. A new Try-Catch-Finally block has
been introduced to handle errors and exceptions as a unit, allowing appropriate
action to be taken at the place the error occurred thus discouraging the use of
ON ERROR GOTO statement. This again credits to the maintainability of the
code
 Another great feature added to C#.NET is free threading against the VB single-
threaded apartment feature. In many situations developers need spawning of a
new thread to run as a background process and increase the usability of the
application. C#NET allows developers to spawn threads wherever they feel like,
hence giving freedom and better control on the application.
 Security has become more robust in C#.NET. In addition to the role-based
security in VB6, C#.NET comes with a new security model. Code Access
security. This security controls on what the code can access. For example you
can set the security to a component such that the component cannot access the
database. This type of security is important because it allows building
components that can be trusted to various degrees.
 The CLR takes care of garbage collection i.e. the CLR releases resources as
soon as an object is no more in use. This relieves the developer from thinking of
ways to manage memory. CLR does this for them.

9
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

BACKEND: - MICROSOFT SQL SERVER 2014


IBM developed the original version of SQL, originally called Sequel, as part
of the System R Project in the early 1970s. The Sequel language has evolved since
then, and its name has changed to SQL (Structured Query Language), many products
now support the SQL language. SQL has clearly established itself as the standard
relational database language.
In 1986,the American Standards Institute (ANSI) and the International
Organization for Standardization (ISO) published an SQL standard, called SOL-
86.ANSI published an extended standard for SQL,SQL-89,in 1989.The next version of
the standard was SQL-92 standard followed by SQL:1999;the most recent versions are
SQL:2008 and then SQL:2012
The SQL language has several parts:
 Data-definition language (DDL): The SQL DDL provides
Commands for defining relation schemas, deleting relations, and modifying relation
schemas.
 Interactive data-manipulation language (DML): The SQL DML includes.
A query language based on both the relational algebra (2) and the tuple relational
calculus (5).It includes also commands for specifying integrity constraints data stored
in the database must satisfy. Updates that violate integrity constraints are disallowed.
 Views definition: The SQL DDL includes commands for defining views.
Beginning and ending of transactions.
 Embedded SQL and Dynamic SQL: Embedded and dynamic SQL
Define how SQL statements can be embedded within general-purpose programming
languages, such as C, C++.Java, PL/I, COBOL, Pascal, and FORTRAN.
 Authorization: The SQL DDL includes commands for specifying access
Rights to relations and views.

10
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Stakeholders
Stakeholders are anyone who has an interest in the project. Project stakeholders are
individuals and organizations that are actively involved in the project, or whose interests may
be affected as a result of project execution or project completion. They may also exert
influence over the project’s objectives and outcomes. The project management team must
identify the stakeholders, determine their requirements and expectations, and, to the extent
possible, manage their influence in relation to the requirements to ensure a successful project.

The following are examples of project stakeholders:

1. Project Developers:
 Project Developers is one who develops software for customer. In my project
I am the first stakeholder i.e. Project Developer.
2. Project customer:
 Project Customer is one who pays for the developed software.
3. Project user Group:
 Project User group are those people who use the software on daily basis for
the Project Customer.
4. Project Testers:
 Project Testers are those who test the software. In my project myself, my
project guide are the Project Testers.

11
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 2
System Design

12
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

ER-Diagram

13
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Event Table
SR. NO EVENT TRIGGER SOURCE ACTIVITY RESPONSE DESTINATION
Employee Authenticate User Is
1. Login Employee Home Page
Login User Login
Fill Up
System Submit Complaint is System Complaint
2. Complaint Employee
Complaint Complaint Registered Page
form
System Maintenance Checking Complaint
Delete System Complaint
3. Complaint Staff complaint solved and
Entry Register page
Register (Admin) register entry deleted
Enter
Attendance Check Attendance Attendance Register
4. required Admin
Register Attendance Details Page
fields
Enter Attendance
Attendance Convert
5. Required Admin details in Excel Sheet File
Register Excel Sheet
fields Excel Sheet
Create
Add Admin/Super Admin/ Add Employee
6. Fill form User Created
Employee Admin Employee Page
Account
Work Details
Employee /
Enter Work Enter Work Entered and
7. Fill Form Admin / Logout Page
Detail Details attendance
Super Admin
registered
Look Up
8. Logout Users User Logout User Logout Login Page
All Details

14
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Use Case Diagram

15
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Class Diagram

16
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

System Flow Charts

Attendance
Maintain
Register
Attendance Employee
Attendance

System
Maintain Complaints
DSRP Enterprises
System Detail
Lab Management System
Complaints Reportss
System Complaints
details

Employee
Maintain Details
Employee Employee storage
Details

17
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Site Map
Login.aspx

Add System Homepage Attendanc Add


Users.aspx complain .aspx e_register_ Users.aspx
.aspx page.aspx

Adding Company Convert


new Complaint Detail Convert attendance
employee register attendance register to
Employees
details register to Excel
Admin list
Excel sheet
check
Complaint sheet
register

18
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 3
System Coding

19
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Login.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs"
Inherits="CKT_COLLEGE__Computer_Science_.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>DSRP Enterprises|Login</title>
<!--
========================================================================
=======================-->
<link rel="shortcut icon" href= "image/favicon-new.png" />
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-
awesome.min.css" />
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css" />
<link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css" />
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css" />
<link rel="stylesheet" type="text/css" href="css/util.css" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<!--
========================================================================
=======================-->
</head>
<body>
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<div class="login100-pic js-tilt">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/img-01.png" />
</div>
<form runat="server" class="login100-form validate-form">
<span class="login100-form-title">
Employee Login
</span>

<div class="wrap-input100 validate-input" data-validate =


"Valid email is required: ex@abc.xyz">
<asp:TextBox ID="txtEmail" runat="server" class="input100"
placeholder="Email"></asp:TextBox>
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-envelope" aria-
hidden="true"></i>
</span>
</div>

<div class="wrap-input100 validate-input" data-validate =


"Password is required">

20
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<asp:TextBox ID="txtPassword" runat="server" cssclass="input100"


textmode="Password" placeholder="Password"></asp:TextBox>
<span class="focus-input100"></span>
<span class="symbol-input100">
<i class="fa fa-lock" aria-hidden="true"></i>
</span>
</div>

<div class="container-login100-form-btn">
<asp:Button ID="btn_login" runat="server" cssclass="login100-form-btn"
Text="Login" OnClick="btn_login_Click" />
</div>

<div class="text-center p-t-12">


<span class="txt1">
Forgot
</span>
<a class="txt2" href="#">
Username / Password?
</a>
</div>
</form>
</div>
</div>
</div>
</body>
</html>

Login.aspx.cs:
using CKT_COLLEGE__Computer_Science_.DAL;
using CKT_COLLEGE__Computer_Science_.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CKT_COLLEGE__Computer_Science_
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btn_login_Click(object sender, EventArgs e)
{
DataConnection dc = new DataConnection();

21
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

EmployeeEntity loginemployee = dc.IsUserAutherised(txtEmail.Text, txtPassword.Text);


if (loginemployee != null && !string.IsNullOrEmpty(loginemployee.FullName))
{
Session["LoginUser"] = loginemployee.FullName;
Session["LoginId"] = loginemployee.ID;
Session["LoginUserRole"] = loginemployee.UserRole;
Response.Redirect("Home_Page.aspx", false);
}
else
{
string display = "Invalid username or password";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
}
}
}

Output:

DSRPMaster.Master:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="DSRPMaster.master.cs"
Inherits="CKT_COLLEGE__Computer_Science_.DSRPMaster" %>

<!DOCTYPE html>

<html>
<head runat="server">

22
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<link rel="shortcut icon" href= "image/favicon-new.png" />


<link rel="stylesheet" href="css/style.css"/>
<link rel="stylesheet" type="text/css" href="~/Attendence_Register.css" />
<link rel="stylesheet" type="text/css" href="~/Faculty_Details.css" />
<link rel="stylesheet" type="text/css" href="~/System_Complaints.css" />
<!-------------------font----------------->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css"
/>
<title>DSRP Enterprises</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<nav>
<div class="nav-bg"></div>
<ul>
<li><a id="nav_link1" class="nav_button active1" href="Home_Page.aspx">Home</a></li>
<li><a id="nav_link2" class="nav_button active2"
href="Home_Page.aspx">Department</a></li>
<li><a id="nav_link3" class="nav_button active3" href="System Complaints.aspx">System
Complaints</a></li>
<li><a id="Admin_section" runat="server" class="nav_button active4"
href="Attendance.aspx">Attendance Register</a></li>
<li><a id="Admin_section1" runat="server" class="nav_button active5"
href="Add_User.aspx">Add Employee</a></li>
<li><a ID="btn_logout" class="lab_attendence active6" href="Log_out.aspx">Log
Out</a></li>
</ul>
</nav>
<div id="hero" class="hero">
<h1 id="Header_background_text" class="Header_background_text">There are no secrets to
success. It is the result of preparation, hard work, and learning from failure.</h1>
</div>
<div class="content-wrapper">

</div>

<asp:ContentPlaceHolder ID="ContentPlaceHolderDSRP" runat="server">

</asp:ContentPlaceHolder>
<div class="footer">
<div style="height: 4px; background-color: rgba(66, 134, 244,0.8)"></div>
<div>
<br />
<p class="style6 ">
<b>DSRP ENTERPRISES</b><br />
<br />

Shop No. 10, Seawood Heritage,<br />


Plot No. 50, Sector - 4,
<br />

23
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Kharghar, Navi Mumbai - 410210 ,<br />


Maharashtra , India<br />
</p>
</div>
<br />
<div class="copyrights">
<span class="color_13">© 2018 BY DSRP ENTERPRICES &nbsp &nbsp<i><b>©
Powered By Rohit Sawant</b></i></span><br />
</div>

</div>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>

DSRPMaster.Master.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CKT_COLLEGE__Computer_Science_
{
public partial class DSRPMaster : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginUserRole"] != null)
if (!(Session["LoginUserRole"].ToString() == "User"))
{
Admin_section.Visible = Admin_section1.Visible = true;
}
else
{
Admin_section.Visible = Admin_section1.Visible = false;
}
}
protected void btn_logout_Click1(object sender, EventArgs e)
{
Response.Redirect("Log_out.aspx", false);
}
}
}

24
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Home_Page.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home_Page.aspx.cs"
MasterPageFile="~/DSRPMaster.Master"
Inherits="CKT_COLLEGE__Computer_Science_.Home_Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="stylesheet" type="text/css" href="Home_Page.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderDSRP" runat="server">
<br />
<div id="body2">
<div class="welcome_note">
<center>
<br />
<h1>Welcome!!!</h1>
<p class="p1" style="font-weight: 300;">
<font size="5px" face="Calibri"><big>Welcome to DSRP Enterprises HR
Recruitment Firm<br /></big>DSRP Enterprises is Direct Solution For Recruitment & Placement<br
/>
DSRP Enterprises was established in 2016 in Navi Mumbai, India.<br />
The Company provides recruitment services to Corporate Houses<br />
in India and around the globe.
<br /></font>
</p>
</center>
</div>
</div>
<h2 style="border: 0; height: 1px; background-image: linear-gradient(to right, rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));""></h2>
<div id="University_note" class="University_note">
<br />
<div style="width: 815px; margin-top: 34px; margin-left: 53px; float: left">
<asp:Label ID="Mumbai_university_Label" cssclass="Mumbai_university_Label"
runat="server" Text="Our Vision & Mission"></asp:Label>
<p id="Mumbai_university_passage" style="width: 814px">
To become the employers preferred Recruitment Agency of choice based on the extent and
quality of our service.
Endeavour preferred platform for candidates to discover and pursue exciting careers with
their ideal organizations.
<br /><br />
To provide professional & efficient recruitment solution to meet each client’s needs &
requirements.
To provide a bridge for individuals to career opportunities to achieve their career goal.
we are committed to the provision of excellent customer service, quality staffing and
competitive pricing.
</p>
</div>
<asp:Image ID="Image6" runat="server" Height="300px" Style="float: left"
ImageUrl="~/image/vision-mission.png" />
</div>
<div id="body3">

25
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<center>
<br />
<h1 style="font-weight: 100;"><font size="15px" face="Calibri">About Us</font></h1>
<h2><b><font style=" border-bottom-color: rgb(255, 201, 102); border-bottom-width:
3px; border-bottom-style: solid;">DIRECTOR : MR. Dilip krishna Sawant</font></b></h2>
<h2><b><font style=" border-bottom-color: rgb(255, 201, 102); border-bottom-width:
3px; border-bottom-style: solid;">MANAGING DIRECTOR : MR. Sharad
Sawant</font></b></h2>
<div class="floating-box">
<center>
<h2><b><font style=" border-bottom-color: rgb(255, 201, 102); border-bottom-
width: 3px; border-bottom-style: solid;"><big>*</big>Working
Staff<big>*</big></font></b></h2>
<table style="text-align: left">
<tr>
<th>Name</th>
<th>Contact Number</th>
<th>Email ID</th>
</tr>
<tr class= "selection">
<td><a href="Faculty_Details.aspx"><font style="color: #000;">Mr. DILIP K.
SAWANT</font></a></td>
<td>8080803183</td>
<td><a href="mailto:dilip@dsrpjobs.com">dilip@dsrpjobs.com</a></td></tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=12"><font
style="color: #000;">Mr. SHARAD SAWANT</font></a></td>
<td>8080803182</td>
<td><a
href="mailto:sharad@dsrpjobs.com">sharad@dsrpjobs.com</a></td></tr>
<tr class="selection" >
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=32"><font
style="color: #000;">MS. Satnam kaur</font></a></td>
<td>8080803152</td>
<td><a href="mailto:satnam@dsrpjobs.com">satnam@dsrpjobs.com</a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=33"><font
style="color: #000;">MS. Shilpa Shinde</font></a></td>
<td>8080803157</td>
<td><a href="mailto:dsrp1@dsrpjobs.com">dsrp1@dsrpjobs.com</a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=34"><font
style="color: #000;">MS. Farah Shaikh</font></a></td>
<td>8080803193</td>
<td><a href="mailto:dsrp2@dsrpjobs.com">dsrp2@dsrpjobs.com</a></td>

26
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=142"><font
style="color: #000;">MS. Veda Tawade</font></a></td>
<td>8080803126</td>
<td><a href="mailto:dsrp3@dsrpjobs.com">dsrp3@dsrpjobs.com</a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=35"><font
style="color: #000;">MS. Ruhi Walia</font></a></td>
<td>8080803154</td>
<td><a href="mailto:dsrp4@dsrpjobs.com">dsrp4@dsrpjobs.com</a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=36"><font
style="color: #000;">MS. Monika Dhaygude</font></a></td>
<td>8080803156</td>
<td><a href="mailto:dsrp5@dsrpjobs.com">dsrp5@dsrpjobs.com</a></td>
</tr>
</table>
</center>
</div>
</center>
<div class="floating-box1">
<center>
<h6 style="margin-bottom: 9px">&nbsp;</h6>
<h2><b><font style=" border-bottom-color: rgb(255, 201, 102); border-bottom-width:
3px; border-bottom-style: solid;">Our Leadership</font></b></h2>
<table style="text-align: center ">
<tr>
<th>Name</th>
<th>Post</th>
</tr>
<tr class = "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=32"><font
style="color: #000;">Mr. DILIP K. SAWANT</font></a></td>
<td><a href="#"><font>Director</font></a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=33"><font
style="color: #000;">Mr. SHARAD SAWANT</font></a></td>
<td><a href="#"><font>Managing Director</font></a></td>
</tr>
<tr class = "selection">

27
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=10"><font
style="color: #000;">MS. SATNAM KAUR</font></a></td>
<td><a href="#">
<font>CEO</font></a></td>
</tr>
<tr class= "selection">
<td><a
href="http://www.ckthakurcollege.net/Profile_Faculty_Details.php?faculty_id=142"><font
style="color: #000;">Mr. CHANDRASHEKHAR THAKAR</font></a></td>
<td><a href="#"><font>Buisness Patner</font></a></td>
</tr>
</table>
</center>
</div>
</div><br /><br /><br />
</div>
<div id="body4">
<h1 style="font-weight: 100;"><font size="15px" face="Calibri">Facilities</font></h1>
<h2 style="text-align:center"></h2><br />
<asp:Image ID="Image7" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
<asp:Image ID="Image8" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
<asp:Image ID="Image9" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
<asp:Image ID="Image10" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
<asp:Image ID="Image11" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
<asp:Image ID="Image12" runat="server" Height="320px" Width="410px"
ImageUrl="~/image/Coming Soon.png"></asp:Image>
</div>
</asp:Content>

Output:

28
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

29
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

30
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

System Complaints.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="System Complaints.aspx.cs"
MasterPageFile="~/DSRPMaster.Master"
Inherits="CKT_COLLEGE__Computer_Science_.System_Complaints" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<!--=================================================================
<link rel="stylesheet" type="text/css" href="css/util.css" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<!--===================================================================-->
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderDSRP" runat="server">
<form id="form1" runat="server">
<div id="main_body_structure_System_complaints">
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<div runat="server" class="login100-form validate-form">
<span class="login100-form-title">
System Complaints
</span>
<div class="wrap-input100 validate-input" data-validate =
"Valid email is required: ex@abc.xyz">
<asp:TextBox ID="txtPCno" runat="server" class="input100" placeholder="PC
Number"></asp:TextBox>
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input" data-validate =
"Password is required">
<asp:TextBox ID="txtTicketDescription" runat="server" cssclass="input100"
textmode="MultiLine" Height="10em" Style="padding-top: 10px;" placeholder="Complaint
Description"></asp:TextBox>
<span class="focus-input100"></span>
</div>
<div class="container-login100-form-btn">
<asp:Button ID="btn_Sc_form" OnClick="btn_Sc_form_Click" runat="server"
cssclass="login100-form-btn" Text="Submit" />
</div>

<div class="text-center p-t-12">


<a id="Admin_section1" runat="server"
href="Complaint Register.aspx" class="txt2">
Admin: Check Complaints</a>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</asp:Content>

31
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

System Complaints.aspx.cs:
using CKT_COLLEGE__Computer_Science_.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CKT_COLLEGE__Computer_Science_
{
public partial class System_Complaints : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginUser"] == null || string.IsNullOrEmpty(Session["LoginUser"].ToString()))
Response.Redirect("Login.aspx", false);
if (Session["LoginUserRole"] != null)
if (!(Session["LoginUserRole"].ToString() == "User"))
{
Admin_section1.Visible = true;
}
else
{
Admin_section1.Visible = false;
}
}
protected void btn_Sc_form_Click(object sender, EventArgs e)
{
DataConnection dc = new DataConnection();
if (dc.CreateTickets(Convert.ToInt32(Session["LoginId"]),
txtPCno.Text,txtTicketDescription.Text))
{
string display = "Success Message";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
else
{
string display = "Error Message";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
txtPCno.Text = "";
txtTicketDescription.Text = "";
}
}
}

32
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Output:

Header_footer.Master:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Header_footer.master.cs"
Inherits="DSRP.Header_footer" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link rel="shortcut icon" href= "image/favicon-new.png" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="~/Attendence_Register.css" />
<link rel="stylesheet" type="text/css" href="~/Faculty_Details.css" />
<link rel="stylesheet" type="text/css" href="~/System_Complaints.css" />
<!-------------------font----------------->
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css"
/>
<title>DSRP Enterprises</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<nav class="nav_bar">
<div class="nav-bg"></div>
<ul>
<li><a id="nav_link1" class="nav_button active1" href="Home_Page.aspx">Home</a></li>
<li><a id="nav_link2" class="nav_button active2"
href="Home_Page.aspx">Department</a></li>
<li><a id="nav_link3" class="nav_button active3" href="System Complaints.aspx">System
Complaints</a></li>
33
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<li><a id="Admin_section" runat="server" class="nav_button active4"


href="Attendance.aspx">Attendance Register</a></li>
<li><a id="Admin_section1" runat="server" class="nav_button active5"
href="Add_User.aspx">Add Employee</a></li>
<li><a ID="btn_logout" class="lab_attendence active6" href="Log_out.aspx">Log
Out</a></li>
</ul>
</nav>
<asp:ContentPlaceHolder ID="ContentPlaceHolder_header" runat="server">

</asp:ContentPlaceHolder>
<div class="footer">
<div style="height: 4px; background-color: rgba(66, 134, 244,0.8)"></div>
<div>
<br />
<p class="style6 ">
<b>DSRP ENTERPRISES</b><br />
<br />

Shop No. 10, Seawood Heritage,<br />


Plot No. 50, Sector - 4,
<br />
Kharghar, Navi Mumbai - 410210 ,<br />
Maharashtra , India<br />
</p>
</div>
<br />
<div class="copyrights">
<span class="color_13">© 2018 BY DSRP ENTERPRICES &nbsp &nbsp<i><b>©
Powered By Rohit Sawant</b></i></span><br />
</div>

</div>
</body>
</html>

Complaint Register.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/Header_footer.Master"
AutoEventWireup="true" CodeBehind="Complaint Register.aspx.cs"
Inherits="DSRP.Complaint_Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link href="Complaint Register.css" rel="stylesheet" media="all"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_header" runat="server">
<form id="form1" runat="server">
<div id="main_body_Attendance_register">
<div class="limiter_attendance">
<br />
<label class="Head_line">System Complaint Register</label>
<br />

34
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<asp:gridview runat="server" cssclass="Attendance_Table"


AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False"
ReadOnly="True" SortExpression="ID" />
<asp:BoundField DataField="EmployeeID" HeaderText="EmployeeID"
SortExpression="EmployeeID" />
<asp:BoundField DataField="PCNo" HeaderText="PCNo" SortExpression="PCNo"
/>
<asp:BoundField DataField="Ticket" HeaderText="Issue" SortExpression="Ticket"
/>
</Columns>
</asp:gridview>
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:DSRPEnterprise %>" SelectCommand="SELECT * FROM
[TTickets]"></asp:SqlDataSource>
<div style="text-align: left;">
<asp:textbox ID="txt_IDNumber" CssClass="txt_IDNumber" TextMode="Number"
runat="server" placeholder="Delte ID"></asp:textbox>
<asp:button ID="btn_del_id" CssClass="btn_del_id" runat="server" text="Delete
Complaint" OnClick="btn_del_id_Click" />
</div>
</div>
</div>
</form>
</asp:Content>

Complaint Register.aspx.cs:
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DSRP
{
public partial class Complaint_Register : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

protected void btn_del_id_Click(object sender, EventArgs e)


{
try
{

35
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

using (SqlConnection con = new SqlConnection("Data


Source=LUCIFER\\SQLEXPRESS;Initial Catalog=DSRPENTERPRISES;Integrated
Security=True;"))
{
con.Open();
using (SqlCommand command = new SqlCommand("DELETE FROM TTickets
WHERE ID=" + txt_IDNumber.Text, con))
{
command.ExecuteNonQuery();
string display = "Success Message";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display +
"');", true);
}
con.Close();
}
}
catch
{
string display = "Something Is wrong";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
}
}
}

36
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Output:

37
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Add_Users.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add_User.aspx.cs"
MasterPageFile="~/Header_footer.Master"
Inherits="CKT_COLLEGE__Computer_Science_.Add_User" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_header" runat="server">


<div id="main_body_structure">
<div class="page-wrapper p-t-100 p-b-100 font-robo">
<div class="wrapper wrapper--w680">
<div class="card card-1">
<div class="card-heading"></div>
<div class="card-body">
<h2 class="title">Add User</h2>
<form runat="server" method="POST">
<div class="input-group">
<asp:TextBox ID="fname" cssclass="input--style-1" runat="server"
placeholder="Employee name.." required="required"></asp:TextBox>
</div>
<div class="input-group" style="margin-bottom: 2%" >
<asp:TextBox ID="Email_ID" cssclass="input--style-1" runat="server"
placeholder="Allotted Email ID.." TextMode="Email" required="required"></asp:TextBox>
</div>
<div class="row row-space">
<div class="col-2">
<label style="text-align: left;" >Date of Birth</label>
<div class="input-group">
<asp:TextBox ID="DOB" class="input--style-1" runat="server"
TextMode="Date" placeholder="BIRTHDATE"></asp:TextBox>
</div>
</div>
<div class="col-2">
<label style="text-align: left;" >Date of Joining</label>
<div class="input-group">
<asp:TextBox ID="DOJ" class="input--style-1" runat="server"
TextMode="Date" placeholder="DATE OF JOINING"></asp:TextBox>
</div>
</div>
</div>
<div class="row row-space">
<div class="col-2">
<div class="input-group">
<asp:TextBox ID="Password" class="input--style-1" runat="server"
TextMode="Password" placeholder="PASSWORD"></asp:TextBox>
</div>
</div>
<div class="col-2">
<div class="input-group">
<asp:TextBox ID="Re_Password" class="input--style-1" runat="server"
TextMode="Password" placeholder="RE-ENTER PASSWORD"></asp:TextBox>
</div>

38
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

</div>
</div>
<div class="row row-space">
<div class="col-2">
<div class="input-group">
<div class="rs-select2 js-select-simple select--no-search">
<select name="gender">
<option disabled="disabled" selected="selected">GENDER</option>
<option>Male</option>
<option>Female</option>
<option>Other</option>
</select>
<div class="select-dropdown"></div>
</div>
</div>
</div>
<div class="col-2">
<div class="input-group">
<asp:TextBox ID="txt_phone" runat="server" cssclass="input--style-1"
textmode="number" placeholder="PHONE No." maxlength="10"></asp:TextBox>
</div>
</div>
</div>
<div class="p-t-20">
<asp:Button ID="btn_adduser" OnClick="btn_adduser_Click" class="btn btn--
radius btn--green" runat="server" Text="Create" />
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Jquery JS-->
<script src="vendor adduser/jquery/jquery.min.js"></script>
<!-- Vendor JS-->
<script src="vendor adduser/select2/select2.min.js"></script>
<script src="vendor adduser/datepicker/moment.min.js"></script>
<script src="vendor adduser/datepicker/daterangepicker.js"></script>
<!-- Main JS-->
<script src="jsadduser/global.js"></script>
</asp:Content>
<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
<!-- Icons font CSS-->
<link href="vendor adduser/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet"
media="all"/>
<link href="vendor adduser/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet"
media="all"/>
<!-- Font special for pages-->

39
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

<link
href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,70
0i,900,900i" rel="stylesheet"/>
<!-- Vendor CSS-->
<link href="vendor adduser/select2/select2.min.css" rel="stylesheet" media="all"/>
<!-- Main CSS-->
<link href="css adduser/main.css" rel="stylesheet" media="all"/>
</asp:Content>

Add_Users.aspx.cs:
using CKT_COLLEGE__Computer_Science_.DAL;
using CKT_COLLEGE__Computer_Science_.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CKT_COLLEGE__Computer_Science_
{
public partial class Add_User : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginUser"] == null || string.IsNullOrEmpty(Session["LoginUser"].ToString()) ||
Session["LoginUserRole"].ToString() == "User")
Response.Redirect("Login.aspx", false);

}
protected void btn_adduser_Click(object sender, EventArgs e)
{
EmployeeEntity employee = new EmployeeEntity();
DataConnection dc = new DataConnection();
employee.FullName = fname.Text;
employee.EmailID = Email_ID.Text;
employee.Password = Password.Text;
employee.DOJ = Convert.ToDateTime(DOJ.Text);
employee.DOB = Convert.ToDateTime(DOB.Text);
if (Session["LoginUserRole"].ToString() == "Super Admin")
employee.UserRoleID = 2;
else
employee.UserRoleID = 3;
if (dc.CreateUser(employee))
{
string display = "Success Message";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
else
{

40
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

string display = "Error Message";


ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
}
}
}

Output:

41
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Log_out.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Log_out.aspx.cs"
Inherits="CKT_COLLEGE__Computer_Science_.Log_out" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel="stylesheet" type="text/css" href="Log_out.css" />
<link rel="stylesheet" type="text/css" href="~/System_Complaints.css" />
</head>
<body>
<form id="logout_form" runat="server">
<div id="main_body_structure_Logout">
<div id="Logout_section" class="Work_Details_form">
<asp:Image ID="img_logout" runat="server" ImageUrl="~/images/Log-out.png"
Width="30%" />
<br />
<asp:Label ID="Form_header" class="country" runat="server" Text="*Work Detail*"
ForeColor="#383838" Font-Size="XX-Large"></asp:Label>
<div class="auto-style2">
<br />
<asp:TextBox runat="server" ID="txtWorkSummury" cssclass="tickets_description"
placeholder="Enter Work Description...." TextMode="MultiLine"
required="required"></asp:TextBox>
<br />
<br />
<asp:Button ID="btn_logout" runat="server" CssClass="btn_Sc_form" Text="Log
Out" OnClick="btn_logout_Click"/>
<br />
<br />
</div>
</div>
</div>
</form>
</body>
</html>

Log_out.aspx.cs:
using CKT_COLLEGE__Computer_Science_.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CKT_COLLEGE__Computer_Science_
{
public partial class Log_out : System.Web.UI.Page

42
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["LoginUser"] == null || string.IsNullOrEmpty(Session["LoginUser"].ToString()))
Response.Redirect("Login.aspx", false);
}

protected void btn_logout_Click(object sender, EventArgs e)


{
DataConnection dc = new DataConnection();
if (dc.UserLogout(Convert.ToInt32(Session["LoginId"]), txtWorkSummury.Text))
{
Session.Clear();
Session.Abandon();
Session["LoginUser"] = null;
Session["LoginId"] = null;
Session["LoginUserRole"] = null;
Response.Redirect("Login.aspx", false);
}
else
{
string display = "Error Message";
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + display + "');",
true);
}
}
}
}

Output:

43
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

DataConnection.cs:
using CKT_COLLEGE__Computer_Science_.Entity;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;

namespace CKT_COLLEGE__Computer_Science_.DAL
{
public class DataConnection
{
public EmployeeEntity IsUserAutherised(string username, string password)
{
EmployeeEntity loginemployee = new EmployeeEntity();
try
{
//Get connection string from web.config file
string strcon =
ConfigurationManager.ConnectionStrings["DSRPEnterprise"].ConnectionString;
//create new sqlconnection and connection to database by using connection string from
web.config file
SqlConnection con = new SqlConnection(strcon);
con.Open();
SqlCommand cmd = new SqlCommand("UserLogin", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add(new SqlParameter("@EmailID", username));
cmd.Parameters.Add(new SqlParameter("@Password", password));
using (var reader = cmd.ExecuteReader()) //error occurs here
{
while (reader.Read())
{
loginemployee.ID = Convert.ToInt32(reader["ID"]);
loginemployee.EmailID = reader["EmailID"].ToString();
loginemployee.FullName = reader["FullName"].ToString();
loginemployee.UserRole = reader["UserRole"].ToString();
loginemployee.DOB = Convert.ToDateTime(reader["DOB"]);
loginemployee.DOJ = Convert.ToDateTime(reader["DOJ"]);
}
}
con.Close();
return loginemployee;
}
catch (Exception)
{
return loginemployee;
}
}

44
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

public bool CreateUser(EmployeeEntity employee)


{
try
{
//Get connection string from web.config file
string strcon =
ConfigurationManager.ConnectionStrings["DSRPEnterprise"].ConnectionString;
//create new sqlconnection and connection to database by using connection string from
web.config file
SqlConnection con = new SqlConnection(strcon);
con.Open();
SqlCommand cmd = new SqlCommand("CreateEmployee", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add(new SqlParameter("@EmailID", employee.EmailID));
cmd.Parameters.Add(new SqlParameter("@Password", employee.Password));
cmd.Parameters.Add(new SqlParameter("@UserRoleID", employee.UserRoleID));
cmd.Parameters.Add(new SqlParameter("@FullName", employee.FullName));
cmd.Parameters.Add(new SqlParameter("@DOJ", employee.DOJ));
cmd.Parameters.Add(new SqlParameter("@DOB", employee.DOB));
cmd.ExecuteNonQuery();
con.Close();
return true;
}
catch (Exception)
{
return false;
}
}
public List<EmployeeEntity> GetAllUser()
{
List<EmployeeEntity> lstemployee = new List<EmployeeEntity>();
try
{
//Get connection string from web.config file
string strcon =
ConfigurationManager.ConnectionStrings["DSRPEnterprise"].ConnectionString;
//create new sqlconnection and connection to database by using connection string from
web.config file
SqlConnection con = new SqlConnection(strcon);
con.Open();
SqlCommand cmd = new SqlCommand("GetAllUser", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
using (var reader = cmd.ExecuteReader()) //error occurs here
{
while (reader.Read())
{
EmployeeEntity employee = new EmployeeEntity();
employee.ID = Convert.ToInt32(reader["ID"]);
employee.EmailID = reader["EmailID"].ToString();
employee.FullName = reader["FullName"].ToString();
employee.DOB = Convert.ToDateTime(reader["DOB"]);

45
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

employee.DOJ = Convert.ToDateTime(reader["DOJ"]);
lstemployee.Add(employee);
}
}
con.Close();
return lstemployee;
}
catch (Exception ex)
{
return lstemployee;
}
}

public bool UserLogout(int Eid, string WorkSummury)


{
try
{
//Get connection string from web.config file
string strcon =
ConfigurationManager.ConnectionStrings["DSRPEnterprise"].ConnectionString;
//create new sqlconnection and connection to database by using connection string from
web.config file
SqlConnection con = new SqlConnection(strcon);
con.Open();
SqlCommand cmd = new SqlCommand("UserLogOut", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add(new SqlParameter("@Eid", Eid));
cmd.Parameters.Add(new SqlParameter("@WorkSummury", WorkSummury));
cmd.ExecuteNonQuery();
con.Close();
return true;
}
catch (Exception ex)
{
return false;
}
}

public bool CreateTickets(int Eid, string PCNo, string Ticket)


{
try
{
//Get connection string from web.config file
string strcon =
ConfigurationManager.ConnectionStrings["DSRPEnterprise"].ConnectionString;
//create new sqlconnection and connection to database by using connection string from
web.config file
SqlConnection con = new SqlConnection(strcon);
con.Open();

46
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

SqlCommand cmd = new SqlCommand("CreateTickets", con);


cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add(new SqlParameter("@Eid", Eid));
cmd.Parameters.Add(new SqlParameter("@PCno", PCNo));
cmd.Parameters.Add(new SqlParameter("@Ticket", Ticket));
cmd.ExecuteNonQuery();
con.Close();
return true;
}
catch (Exception ex)
{
return false;
}
}
}
}

Entity

AttendanceEntity.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CKT_COLLEGE__Computer_Science_.Entity
{
public class AttendanceEntity
{
public int ID { get; set; }
public int EmployeeID { get; set; }
public DateTime SignIn { get; set; }
public DateTime SignOut { get; set; }
public string WorkSummury { get; set; }
public string EMP_Name { get; set; }
}
}

EmployeeEntity.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CKT_COLLEGE__Computer_Science_.Entity

47
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

{
public class EmployeeEntity
{
public int ID { get; set; }
public string EmailID { get; set; }
public string Password { get; set; }
public string UserRole { get; set; }
public int UserRoleID { get; set; }
public string FullName { get; set; }
public DateTime DOJ { get; set; }
public DateTime DOB { get; set; }
}
}

TicketsEntity.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CKT_COLLEGE__Computer_Science_
{
public class TicketsEntity
{
public int ID { get; set; }
public int EmployeeID { get; set; }
public string Ticket { get; set; }
}
}

UserRoleEntity.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CKT_COLLEGE__Computer_Science_.Entity
{
public class UserRoleEntity
{
public int ID { get; set; }
public string UserRole { get; set; }
}
}

48
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 4
System Implementation

49
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

System Implementation

1. Install Visual Studio 2015 and Microsoft SQL Server 2014

2. Copy the project file and exported db file.

3. Import the db file in SQL Server 2014.

4. Open the .sln extention file in Visual Studio 2015

5. Change the Data String with your own (in Dal folder DataConnection.cs)

6. And run the project file in any of the browser

50
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 5
Result

51
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Results
STATUS
SR. PRE TEST CASE EXPECTED ACTUALL
TEST CASE ID OBJECTIVE STEPS (PASS
No CONDITIONS DATA RESULT RESULT
/FAIL)
User(Super
Enter User(Super Admin) get
Click on login
authenticate Admin) get successfull
button to
admin User ID: entered into y entered
Admin_Login_ authenticate Login page
1 ID and rohit@gmail.com the portal into the PASS
01 user and take must be open
Password Pass: pass Attendance portal
it into the
And click on Time IN Attendance
portal
login entered Time IN
entered
Open System All
Click on All
Complaint System Complaint Registered
Admin: Registered
Admin_Login_ page and click Complaint register will System
2 Check System PASS
02 on Admin: Page must be generated in grid complaints
Complaints complaints
Check open view Should be
link are listed
Complaints listed
Admin: Check
Complaints Enter
Test that
page must be Complaint Complaint
weather the Complaint
open and ID which ID: 12
Admin_Login_ registered ID: 12
3 Complaint should be Complaint ID: 12 Entry PASS
03 complaint Entry is
which is deleted, should be
entry is Deleted
registered Click on Deleted
deleted or not
should be Delete button
solved
Select
Name: Rohit Particular
employee Particular
Check the Dilip Sawant Employee
Attendance name , From Employee
Admin_Login_ attendance of From Date: Attendance
4 Register page date & to Attendance PASS
04 particular 15/09/2018 Details
must be open date and Details are
employee To Date: should be
click on listed
13/10/2018 listed
search
Name:
harshadasawant
Email ID:
sawant@gmail.c Employee
om details must Employee
Add
Enter Pass: 1234 be added details are
Admin_Login_ Add a new Employee
5 Employee DOB: 2018-10- and its added and PASS
05 Employee page must be
Details 11 Account its Account
open
DOJ: 2018-10- must be Is created
12 created
Gender: Female
Phone:98765432
12
Click on login Enter Employee Employee
ID:
button to authenticate get entered get
Employee_Log Login page sawant@gmail.c
6 authenticate User ID and into the successfull PASS
in_01 must be open om
user and take Password portal y entered
Pass: 1234
it into the And click on Attendance into the

52
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

portal login Time IN portal


entered Attendance
Time IN
entered

System
Enter PC System
Complaint
System Number Complaint
Register Your PC No.: 1 details
Employee_Log Complaint Enter Detail details are
7 System System Issue: should be PASS
in_02 Page must be info about registered
Complaint Software Issue registered
Open your into
into
complaint database
database
User is
User Must logged out
Be logged and
Click on Log out and Attendance
Out button Attendance Time Out
and then Time Out is entered
Work
Employee_Log Log Out of Any of the Enter The must be into the
8 Description: PASS
in_03 the portal page Work entered into database
Testing the portal
Description the database with work
and click on with work details
Log Out details And And
redirected to redirected
Login Page to Login
Page

53
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 6
Conclusion

54
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Conclusion
 System helps to keep all the data about Enterprises and Employee to
be stored in computer and there is no need to do paper work.
 Data is going to be preserved carefully for longer period hence proper
backup is required otherwise there is chance of losing entries.
 There are also chances that calculation error can occur which can
cause huge problem.
 Easy to get Information by Time.
 This information can be modified, deleted, Update as required.
 More Comfortable for Company to get information about their office
profile and employee work.

55
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 7
Future Enhancements

56
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Future Enhancements

 The project contain a main module named as Employee Attendance right now in
this project it is automated via login and logout we can move a step forward
towards QR code scanning attendance.

 Employee Salary Generations as per there working hours and days

 Invoice generation.

 Applying for leave, requesting for appointment letter etc.

 Updating employee details (Admin).

 Improvements in Attendance Register.

 Improvements in designs.

 Storing Detail info about employee

57
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Chapter 8
References

58
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

References

Requirements:
DSRP ENTERPRISES

Enterprises Official Website:


http://dsrpjobs.com/

Web Application guidance:


https://www.w3schools.com/

https://www.aspsnippets.com/

https://stackoverflow.com/

https://docs.microsoft.com/en-us/dotnet/

59
DSRP ENTERPRISES OFFICE MANAGEMENT SYSTEM

Plagiarism report

60

You might also like